Don't overwrite gophermap if it already exists #1

Merged
ben merged 1 commits from :master into master 3 years ago
nytpu commented 3 years ago

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 3 years ago
The pull request has been merged as 5335002c4a.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: team/bashblog#1
Loading…
There is no content yet.