From: hackbard Date: Mon, 19 Jan 2004 16:45:21 +0000 (+0000) Subject: bugfixed if statement X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=commitdiff_plain;h=57b9f71bd064546145275d01ce3cf1b20ed2307d bugfixed if statement --- diff --git a/backup.sh b/backup.sh index 9737f8c..f26ef2b 100755 --- 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