OLD_SCRIPT="$INSTALL_ROOT/usr/share/www/$SPELL/cgi-bin/$SPELL.php" && if [[ -f "$OLD_SCRIPT" ]]; then # sorcery will leave this file undispelled if it was modified # we need to save these modifications BACKUP_SCRIPT="$OLD_SCRIPT.$(date +%Y%m%dT%H%M%S)" && message "${MESSAGE_COLOR}Old script renamed to \`$BACKUP_SCRIPT'${DEFAULT_COLOR}" mv "$OLD_SCRIPT" "$BACKUP_SCRIPT" fi