summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-xaw
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-xaw')
-rw-r--r--autoscripts/postrm-xaw4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postrm-xaw b/autoscripts/postrm-xaw
index 14d13eb..61bd3c9 100644
--- a/autoscripts/postrm-xaw
+++ b/autoscripts/postrm-xaw
@@ -1,3 +1,3 @@
-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