From 179b4db8c5ae88cf4858aa56d7bf22129c572f37 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 29 Jan 2010 13:27:12 +0100 Subject: [PATCH] Disable interactive removal. Don't let -i to be overridden by -f. --- etcdiff.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.1.4