Ver código fonte

Generate then mv feed (d'Oh)

master
The Dod 3 anos atrás
pai
commit
833334c74c
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      makefortune.sh

+ 2
- 1
makefortune.sh Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar