From 258ad092ac0ee2e7b67ccdbed734e5153fa74061 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Mon, 7 May 2012 15:38:25 +0000 Subject: [PATCH] debian: massage the prerm script to pass lintian --- debian/freeswitch.prerm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/freeswitch.prerm b/debian/freeswitch.prerm index f5448bcee4..9f34f0b371 100644 --- a/debian/freeswitch.prerm +++ b/debian/freeswitch.prerm @@ -3,7 +3,9 @@ set -e case "$1" in remove|upgrade|deconfigure) - echo "We're about to remove FreeSWITCH..." >&2 + if [ -d /etc/freeswitch ]; then + echo "We're about to remove a configured FreeSWITCH..." >&2 + fi ;; failed-upgrade) ;;