summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-service-tools.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-20 16:50:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-20 16:50:37 +0000
commitb7842b50a00cbf7b95b9acafd8694f0e310c7822 (patch)
treeb9c692b5453105e6a4b68b3f4e108f98b30e088b /debian/open-infrastructure-service-tools.postinst
parentAdding upstream version 20231120. (diff)
downloadopen-infrastructure-service-tools-b7842b50a00cbf7b95b9acafd8694f0e310c7822.tar.xz
open-infrastructure-service-tools-b7842b50a00cbf7b95b9acafd8694f0e310c7822.zip
Adding debian version 20231120-1.debian/20231120-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/open-infrastructure-service-tools.postinst30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/open-infrastructure-service-tools.postinst b/debian/open-infrastructure-service-tools.postinst
new file mode 100755
index 0000000..2cd7822
--- /dev/null
+++ b/debian/open-infrastructure-service-tools.postinst
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ configure)
+ update-alternatives --quiet --install /usr/share/open-infrastructure/apache-icons/default apache-icons /usr/share/apache2/icons 1000
+ update-alternatives --quiet --install /usr/share/open-infrastructure/apache-icons/default apache-icons /usr/share/open-infrastructure/apache-icons/awesome-png 2000 \
+ --slave /usr/share/open-infrastructure/apache-icons/default.conf apache-icons.conf /usr/share/open-infrastructure/apache-icons/awesome-png.conf
+ update-alternatives --quiet --install /usr/share/open-infrastructure/apache-icons/default apache-icons /usr/share/open-infrastructure/apache-icons/awesome-svg 3000 \
+ --slave /usr/share/open-infrastructure/apache-icons/default.conf apache-icons.conf /usr/share/open-infrastructure/apache-icons/awesome-svg.conf
+ update-alternatives --quiet --install /usr/share/open-infrastructure/apache-icons/default apache-icons /usr/share/open-infrastructure/apache-icons/tango-png 4000 \
+ --slave /usr/share/open-infrastructure/apache-icons/default.conf apache-icons.conf /usr/share/open-infrastructure/apache-icons/tango-png.conf
+ update-alternatives --quiet --install /usr/share/open-infrastructure/apache-icons/default apache-icons /usr/share/open-infrastructure/apache-icons/tango-svg 5000 \
+ --slave /usr/share/open-infrastructure/apache-icons/default.conf apache-icons.conf /usr/share/open-infrastructure/apache-icons/tango-svg.conf
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0