From 96f57f80346a55d364efc2c65e31d74e72c897f8 Mon Sep 17 00:00:00 2001 From: hackbard Date: Mon, 25 Aug 2003 19:32:49 +0000 Subject: [PATCH] - --- backup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ] && \ -- 2.20.1