diff options
Diffstat (limited to 'debian/dpkg.cron.daily')
-rw-r--r-- | debian/dpkg.cron.daily | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/dpkg.cron.daily b/debian/dpkg.cron.daily index 0a6b05e1d..62da81727 100644 --- a/debian/dpkg.cron.daily +++ b/debian/dpkg.cron.daily @@ -9,16 +9,16 @@ if cd /var/backups ; then dbchanged=no dbfiles="arch status diversions statoverride" for db in $dbfiles ; do - if ! cmp -s dpkg.${db}.0 $dbdir/$db ; then + if ! cmp -s "dpkg.${db}.0" "$dbdir/$db"; then dbchanged=yes break; fi done if [ "$dbchanged" = "yes" ] ; then for db in $dbfiles ; do - [ -e $dbdir/$db ] || continue - cp -p $dbdir/$db dpkg.$db - savelog -c 7 dpkg.$db >/dev/null + [ -e "$dbdir/$db" ] || continue + cp -p "$dbdir/$db" "dpkg.$db" + savelog -c 7 "dpkg.$db" >/dev/null done fi |