From: hackbard Date: Mon, 25 Aug 2003 19:32:49 +0000 (+0000) Subject: - X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=96f57f80346a55d364efc2c65e31d74e72c897f8;p=scripts%2Fscripts.git - --- diff --git a/backup.sh b/backup.sh index e477347..648fdae 100755 --- a/backup.sh +++ b/backup.sh @@ -171,10 +171,14 @@ if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host" # home of hackbard mkdir -p ./home/hackbard echo "copying home" - for i in projects software store; do + for i in software store; do [ -d /home/hackbard/$i ] && \ cp -r /home/hackbard/$i ./home/hackbard done + if [ "$host" = "hackstation" ]; then + [ -d /home/hackbard/projects ] && \ + cp -r /home/hackbard/projects ./home/hackbard + fi for i in xinitrc_evil xinitrc_wm .xinitrc GNUstep .Xauthority \ .Xdefaults .signature .directfbrc; do [ -f /home/hackbard/$i ] && \