summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-debconf
diff options
context:
space:
mode:
authorjoey <joey>2002-06-21 00:46:43 +0000
committerjoey <joey>2002-06-21 00:46:43 +0000
commitc84545b9234bf1d233983d5ae59ab59d573a5460 (patch)
tree08b66dfc30003e1ec9afeab75aa2848fb786bb8b /autoscripts/postrm-debconf
parent3c36c2532c3907f0a315d9010654176e8e9fc319 (diff)
r533: * In script fragments, use more posix tests, no -a or -o, no parens.
Closes: #150403
Diffstat (limited to 'autoscripts/postrm-debconf')
-rw-r--r--autoscripts/postrm-debconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-debconf b/autoscripts/postrm-debconf
index a0a63b3..5a61724 100644
--- a/autoscripts/postrm-debconf
+++ b/autoscripts/postrm-debconf
@@ -1,4 +1,4 @@
-if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
+if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi