summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-10-06 22:17:01 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-10-06 22:17:01 +0000
commit5c0c97d2ee2eefd00004545751dc2cbd392cdea2 (patch)
tree0a2f4515641e27e40a2affd0b2fb835066ed8ef7 /debian
parentfa804a2c5aef0e4b05f7c5383337c89a17cdd061 (diff)
downloadbcfg2-5c0c97d2ee2eefd00004545751dc2cbd392cdea2.tar.gz
bcfg2-5c0c97d2ee2eefd00004545751dc2cbd392cdea2.tar.bz2
bcfg2-5c0c97d2ee2eefd00004545751dc2cbd392cdea2.zip
Switch to postrm to more compact syntax
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2406 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian')
-rw-r--r--debian/bcfg2.postrm4
1 files changed, 1 insertions, 3 deletions
diff --git a/debian/bcfg2.postrm b/debian/bcfg2.postrm
index fc9ecf1b8..bd6264cd7 100644
--- a/debian/bcfg2.postrm
+++ b/debian/bcfg2.postrm
@@ -22,9 +22,7 @@ case "$1" in
for i in /etc/default/bcfg2 /etc/bcfg2.conf; do
rm -f $i
# This might prove to be a bug, assuming that ucf is in /usr/sbin
- if [ -x /usr/bin/ucf ]; do
- ucf -p $i
- done
+ test -x /usr/bin/ucf && ucf -p $i
done
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)