From fa55b5e82d0faf2d9da3622ea9a46d67493ff6e5 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sun, 6 May 2012 22:46:13 +0000 Subject: [PATCH] debian: avoid lintian maintainer-script-empty We are going to fill in these files with useful things. --- debian/freeswitch.preinst | 3 +++ debian/freeswitch.prerm | 1 + 2 files changed, 4 insertions(+) diff --git a/debian/freeswitch.preinst b/debian/freeswitch.preinst index 56dc52da8f..01d322e76c 100644 --- a/debian/freeswitch.preinst +++ b/debian/freeswitch.preinst @@ -3,6 +3,9 @@ set -e case "$1" in install|upgrade) + if [ -d /opt/freeswitch ]; then + echo "It looks like you have FreeSWITCH installed manually." >&2 + fi ;; abort-upgrade) diff --git a/debian/freeswitch.prerm b/debian/freeswitch.prerm index c2d46bc865..24906ff7e9 100644 --- a/debian/freeswitch.prerm +++ b/debian/freeswitch.prerm @@ -3,6 +3,7 @@ set -e case "$1" in remove|upgrade|deconfigure) + echo "We're about to remove FreeSWITCH..." >&2 ;; failed-upgrade)