summaryrefslogtreecommitdiffstats
path: root/autoscripts/postinst-alternatives
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-alternatives')
-rw-r--r--autoscripts/postinst-alternatives3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postinst-alternatives b/autoscripts/postinst-alternatives
new file mode 100644
index 0000000..eb59f69
--- /dev/null
+++ b/autoscripts/postinst-alternatives
@@ -0,0 +1,3 @@
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ]; then
+ update-alternatives #INSTALL_OPTIONS#
+fi