summaryrefslogtreecommitdiff
path: root/localbackupconfig
diff options
context:
space:
mode:
Diffstat (limited to 'localbackupconfig')
-rwxr-xr-xlocalbackupconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/localbackupconfig b/localbackupconfig
index d6e6cf9..0e2b138 100755
--- a/localbackupconfig
+++ b/localbackupconfig
@@ -3,7 +3,7 @@
# /usr/local/sbin/localbackupconfig
# Copyright 2001 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localbackupconfig,v 1.4 2002-03-29 13:43:17 jonas Exp $
+# $Id: localbackupconfig,v 1.5 2002-10-15 19:13:09 jonas Exp $
#
# .dpkg-new files appear when refusing to update a conffile on package update
#
@@ -14,6 +14,8 @@
# .bak is... eh... just in case you felt like using that name now and then...
#
+set -e
+
FQDN=`hostname -f`
BACKUPDIR=/var/local/backups/$FQDN
LOCALCONFIGDIR=/etc/local-$FQDN