From: Antonio Ospite Date: Fri, 29 Jan 2010 12:27:12 +0000 (+0100) Subject: Disable interactive removal. Don't let -i to be overridden by -f. X-Git-Url: https://git.ao2.it/etcdiff.git/commitdiff_plain/refs/heads/master?hp=329c34a9649727679faf13416d9aa5836aecd003 Disable interactive removal. Don't let -i to be overridden by -f. --- diff --git a/etcdiff.sh b/etcdiff.sh index 4ee0212..45587cb 100755 --- a/etcdiff.sh +++ b/etcdiff.sh @@ -9,7 +9,7 @@ #set -x #set -e -PROMPT_RM=-i +#PROMPT_RM=-i DEBIANMIRROR="http://ftp.it.debian.org/debian" @@ -51,9 +51,9 @@ etcdiff the whole /etc system directory " } -rm $PROMPT_RM -rf $TEMPDIR && mkdir $TEMPDIR -rm $PROMPT_RM -rf $CACHEDIR && mkdir $CACHEDIR -rm $PROMPT_RM -rf $REPORTDIR && mkdir $REPORTDIR +rm -rf $PROMPT_RM $TEMPDIR && mkdir $TEMPDIR +rm -rf $PROMPT_RM $CACHEDIR && mkdir $CACHEDIR +rm -rf $PROMPT_RM $REPORTDIR && mkdir $REPORTDIR . $BASEDIR/etcdiff.include