]> hackdaworld.org Git - scripts/scripts.git/commitdiff
-
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 e477347e37db533b3a9f139ab79b2ba9a05875a5..648fdae011a573683b4b87e240b035008e92682d 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 ] && \