-
authorhackbard <hackbard>
Mon, 25 Aug 2003 19:32:49 +0000 (19:32 +0000)
committerhackbard <hackbard>
Mon, 25 Aug 2003 19:32:49 +0000 (19:32 +0000)
backup.sh

index e477347..648fdae 100755 (executable)
--- 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 ] && \