Fix backup command line in cron.daily script. Closes: #596283

This commit is contained in:
bubulle
2010-09-12 13:00:49 +00:00
parent 5a13d590df
commit 2bbe223879
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
shadow (1:4.1.4.2+svn3283-2) UNRELEASED; urgency=low
* Fix backup command line in cron.daily script. Closes: #596283
-- Christian Perrier <bubulle@debian.org> Sun, 12 Sep 2010 14:58:39 +0200
shadow (1:4.1.4.2+svn3283-1) unstable; urgency=low
* The "Bleu de Gex" release.

View File

@@ -5,5 +5,5 @@ cd /var/backups || exit 0
for FILE in passwd group shadow gshadow; do
test -f /etc/$FILE || continue
cmp -s $FILE.bak /etc/$FILE && continue
cp -p $FILE $FILE.bak && chmod 600 $FILE.bak
cp -p /etc/$FILE $FILE.bak && chmod 600 $FILE.bak
done