]> git.sesse.net Git - backup.sh/commitdiff
*** empty log message ***
authorroot <empty>
Wed, 22 Nov 2000 14:41:22 +0000 (14:41 +0000)
committerroot <empty>
Wed, 22 Nov 2000 14:41:22 +0000 (14:41 +0000)
backup.sh

index 49a643d87c29de676af1b9adeefeeff7daa83d77..20a26f955d658fade5912bd667983cb6b68e89eb 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -61,11 +61,14 @@ backup()
  fi
 
  #if this client has a special tar
- $tar=${TAR:-tar}
- unset TAR
+ #we need to find a better solution to this conf-issue
+ if [ -f $confdir/tar.$computer ] ; then
+   tar=`cat $confdir/tar.$computer`
+ else 
+   tar=tar
+ fi
 
  #We try to run tar on the remote computer
- #need to specify a special tar on some clients. how?
  if `ssh $computer "cd $filesystem ;\
      $tar cfl - . $lastcmd \
       --exclude-from=/tmp/.backup/exclude \