Browse Source

Generate then mv feed (d'Oh)

master
The Dod 3 years ago
parent
commit
833334c74c
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      makefortune.sh

+ 2
- 1
makefortune.sh View File

@@ -1,4 +1,5 @@
1 1
 #!/bin/sh
2 2
 cd "$(dirname "$0")"
3 3
 . venv/bin/activate
4
-python fortunefeed.py > fortune.rss
4
+python fortunefeed.py > next-fortune.rss
5
+mv next-fortune.rss fortune.rss

Loading…
Cancel
Save