summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-xaw
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-xaw')
-rw-r--r--autoscripts/postinst-xaw9
1 files changed, 7 insertions, 2 deletions
diff --git a/autoscripts/postinst-xaw b/autoscripts/postinst-xaw
index b8d718ea..324058f8 100644
--- a/autoscripts/postinst-xaw
+++ b/autoscripts/postinst-xaw
@@ -1,3 +1,8 @@
-if test -x /usr/sbin/update-xaw-wrappers; then
- /usr/sbin/update-xaw-wrappers
+if [ "$1" = "configure" ]; then
+ if test -x /usr/sbin/update-xaw-wrappers; then
+ /usr/sbin/update-xaw-wrappers
+ fi
+ for opts in #OPTS#; do
+ update-alternatives --quiet --install $opts 25
+ done
fi