projects
/
deb
/
hackedgotchi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51f0edc
)
move the log if a new one exists
author
keybuk
<keybuk@c2f067bf-98e0-425f-9c98-e76020cfa380>
Wed, 6 Oct 2004 17:18:55 +0000
(17:18 +0000)
committer
keybuk
<keybuk@c2f067bf-98e0-425f-9c98-e76020cfa380>
Wed, 6 Oct 2004 17:18:55 +0000
(17:18 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@8
c2f067bf
-98e0-425f-9c98-
e76020cfa380
cron/30log
patch
|
blob
|
history
diff --git
a/cron/30log
b/cron/30log
index 8a104505e561cefc9f3ac6cb3a83710d8f4aae5a..147b5a6de901a40a7f24ba74867322c143776c19 100755
(executable)
--- a/
cron/30log
+++ b/
cron/30log
@@
-2,6
+2,8
@@
cd /org/planet.debian.org/log
-rm -f planet.log.0
-mv -f planet.log planet.log.0
-mv new-planet.log planet.log
+if [ -f new-planet.log ]; then
+ rm -f planet.log.0
+ [ -f planet.log ] && mv planet.log planet.log.0
+ mv new-planet.log planet.log
+fi