summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-xaw
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-xaw')
-rw-r--r--autoscripts/postinst-xaw4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postinst-xaw b/autoscripts/postinst-xaw
index 035aa269..f7703dcf 100644
--- a/autoscripts/postinst-xaw
+++ b/autoscripts/postinst-xaw
@@ -1,6 +1,6 @@
if [ "$1" = "configure" ]; then
- if [ -x /usr/sbin/update-xaw-wrappers ]; then
- /usr/sbin/update-xaw-wrappers
+ if which update-xaw-wrappers >/dev/null 2>&1; then
+ update-xaw-wrappers
fi
for opts in #OPTS#; do
update-alternatives --quiet --install $opts 25