[Pkg-sympa-devel] [PATCH] fix syntax error while prerm sympa

Marc Chantreux mc at unistra.fr
Mon Jan 8 16:44:11 UTC 2018


---
 debian/sympa.prerm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/sympa.prerm b/debian/sympa.prerm
index 4198197..16e1084 100644
--- a/debian/sympa.prerm
+++ b/debian/sympa.prerm
@@ -15,7 +15,7 @@ if [ -f /usr/share/dbconfig-common/dpkg/prerm ]; then
     dbc_go sympa $@
 fi
 
-if [ "$1" = "remove" ]; then
+if [ x"$1" = x"remove" ]; then
     rm -f /etc/mail/smrsh/bouncequeue /etc/mail/smrsh/queue
 fi
 
-- 
2.11.0




More information about the Pkg-sympa-devel mailing list