projects
/
etcdiff.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
329c34a
)
Disable interactive removal. Don't let -i to be overridden by -f.
master
author
Antonio Ospite <ospite@studenti.unina.it>
Fri, 29 Jan 2010 12:27:12 +0000
(13:27 +0100)
committer
Antonio Ospite <ospite@studenti.unina.it>
Fri, 29 Jan 2010 12:27:12 +0000
(13:27 +0100)
etcdiff.sh
patch
|
blob
|
history
diff --git
a/etcdiff.sh
b/etcdiff.sh
index
4ee0212
..
45587cb
100755
(executable)
--- 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