chiark / gitweb /
update licence to GPLv3 or later (was GPLv2 or later).
[chiark-utils.git] / backup / loaded
index 69adcb4dfa2f9c1034f1b6d6c4a792c7c7eb17f6..3b54e898fb07839a61477ad4629fd9fed3367bf3 100755 (executable)
@@ -11,7 +11,7 @@
 #
 # This is free software; you can redistribute it and/or modify it under the
 # terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 2, or (at your option) any later version.
+# Foundation; either version 3, or (at your option) any later version.
 #
 # This is distributed in the hope that it will be useful, but WITHOUT ANY
 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 set -e
-cd /var/local/backup
+cd /var/lib/chiark-backup
 
-if test -f "/etc/backup/tape.$1"
+if test -f "/etc/chiark-backup/tape.$1"
 then
        echo "$1" >really-TAPEID
        echo "Will assume tape is $1 unless I discover otherwise."
 else
+       if [ "x$1" != x ]; then echo "Tape $1 not found."; fi
        echo "Will only use tape if it has a TAPEID."
        rm -f really-TAPEID
 fi