Index: openacs-4/etc/backup.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/backup.sh,v diff -u -r1.8.2.1 -r1.8.2.2 --- openacs-4/etc/backup.sh 26 Mar 2004 08:20:32 -0000 1.8.2.1 +++ openacs-4/etc/backup.sh 24 Sep 2004 02:51:28 -0000 1.8.2.2 @@ -103,7 +103,7 @@ TYPE="full"; fi -if [[ $DOM = "01" || $DOW = "Sun" ]]; +if [[ $DOM == "01" || $DOW == "Sun" ]]; then TYPE="full"; fi @@ -194,7 +194,7 @@ scp_success=`$SCP -q $FULLNAME $OTHERUSER@$OTHERHOST:$BACKUPDIR` # if scp returns success, see if we should wipe - if [[ scp_success -eq 0 && $WIPE_OLD_AFTER_SCP_FULL == "true" && $TYPE = "full" ]]; + if [[ scp_success -eq 0 && $WIPE_OLD_AFTER_SCP_FULL == "true" && $TYPE == "full" ]]; then # wipe out all similar backups except for the just-copied one