]> hackdaworld.org Git - scripts/scripts.git/commitdiff
bugfixed if statement
authorhackbard <hackbard>
Mon, 19 Jan 2004 16:45:21 +0000 (16:45 +0000)
committerhackbard <hackbard>
Mon, 19 Jan 2004 16:45:21 +0000 (16:45 +0000)
backup.sh

index 9737f8c7668d3bf8cb55e7c2145a5ff6179b0ed7..f26ef2b959807fc5435153d9b24de1bf68ec94c9 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -185,7 +185,7 @@ if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host"
                [ -e /home/hackbard/$i ] && \
                        cp -r /home/hackbard/$i ./home/hackbard
        done
-        if [ -d /home/hackbard/.mozilla ] &&
+        [ -d /home/hackbard/.mozilla ] &&
                cp /home/hackbard/.mozilla/default/*/bookmarks.html \
                        mozilla-bookmarks.html
        [ -d /home/hackbard/.ssh ] && cp -r /home/hackbard/.ssh ./home/hackbard