summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-apache-tools.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-03 09:34:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-03 09:37:46 +0000
commite936b706e7249f148773d0dee348b9bed1b9687a (patch)
treecd161966fa3990bdcae404dcdb0ca9e38b3e3434 /debian/open-infrastructure-apache-tools.prerm
parentReleasing debian version 20170701-2. (diff)
downloadopen-infrastructure-service-tools-e936b706e7249f148773d0dee348b9bed1b9687a.tar.xz
open-infrastructure-service-tools-e936b706e7249f148773d0dee348b9bed1b9687a.zip
Renaming binary package to open-infrastructure-apache-tools for consistency and future-proofing.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/open-infrastructure-apache-tools.prerm')
-rwxr-xr-xdebian/open-infrastructure-apache-tools.prerm26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/open-infrastructure-apache-tools.prerm b/debian/open-infrastructure-apache-tools.prerm
new file mode 100755
index 0000000..ade38b2
--- /dev/null
+++ b/debian/open-infrastructure-apache-tools.prerm
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ remove|upgrade|deconfigure)
+ update-alternatives --quiet --remove apache-icons /usr/share/apache2/icons
+ update-alternatives --quiet --remove apache-icons /usr/share/apache-icons/tango-png
+ update-alternatives --quiet --remove apache-icons /usr/share/apache-icons/tango-svg
+ update-alternatives --quiet --remove apache-icons /usr/share/apache-icons/awesome-png
+ update-alternatives --quiet --remove apache-icons /usr/share/apache-icons/awesome-svg
+ ;;
+
+ failed-upgrade)
+
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0