diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-10-17 17:20:56 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-10-17 17:20:56 +0000 |
commit | 24038d5a0f906cb2bf0f6a502d39940aa2830fa3 (patch) | |
tree | 3c963802a46b8ad8e0751d339802f0c017726b78 /localbackupconfig | |
parent | 75928dd757466662de63602e0e367d7f0f37ad0d (diff) |
localbackupconfig: Let diff fail silently.
Diffstat (limited to 'localbackupconfig')
-rwxr-xr-x | localbackupconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localbackupconfig b/localbackupconfig index 0e2b138..ed745a5 100755 --- a/localbackupconfig +++ b/localbackupconfig @@ -3,7 +3,7 @@ # /usr/local/sbin/localbackupconfig # Copyright 2001 Jonas Smedegaard <dr@jones.dk> # -# $Id: localbackupconfig,v 1.5 2002-10-15 19:13:09 jonas Exp $ +# $Id: localbackupconfig,v 1.6 2002-10-17 17:20:56 jonas Exp $ # # .dpkg-new files appear when refusing to update a conffile on package update # @@ -41,6 +41,6 @@ for i in $changedfiles; do fi mkdir -p $BACKUPDIR/`dirname $i` cp -fa $i $BACKUPDIR/`dirname $i`/ - diff -ruN $orig $i > $BACKUPDIR/$i.diff + diff -ruN $orig $i > $BACKUPDIR/$i.diff || true fi done |