Don't overwrite gophermap if it already exists #1

Merged
ben merged 1 commits from :master into master 2020-05-26 20:39:17 +00:00
Contributor

I have a modified gophermap for my blog (see gopher://tilde.team:70/1/~nytpu/blog), but whenever I would write a blog post or rebuild the pages, it would overwrite it, and I quickly got tired of having to do cat .gophermap.footer >> gophermap after messing with the blog. The change simply checks if the gophermap exists before cating to it.

I have a modified gophermap for my blog (see gopher://tilde.team:70/1/~nytpu/blog), but whenever I would write a blog post or rebuild the pages, it would overwrite it, and I quickly got tired of having to do `cat .gophermap.footer >> gophermap` after messing with the blog. The change simply checks if the gophermap exists before `cat`ing to it.
ben closed this pull request 2020-05-26 20:39:17 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: team/bashblog#1
No description provided.