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)