summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-apache-tools.prerm
diff options
context:
space:
mode:
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..b580074
--- /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/open-infrastructure/apache-icons/awesome-png
+ update-alternatives --quiet --remove apache-icons /usr/share/open-infrastructure/apache-icons/awesome-svg
+ update-alternatives --quiet --remove apache-icons /usr/share/open-infrastructure/apache-icons/tango-png
+ update-alternatives --quiet --remove apache-icons /usr/share/open-infrastructure/apache-icons/tango-svg
+ ;;
+
+ failed-upgrade)
+
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0