summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-xfonts
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-xfonts')
-rw-r--r--autoscripts/postrm-xfonts2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-xfonts b/autoscripts/postrm-xfonts
index a4d0a082..42fea687 100644
--- a/autoscripts/postrm-xfonts
+++ b/autoscripts/postrm-xfonts
@@ -1,3 +1,3 @@
-if [ "$1" != "upgrade" ] && [ -x /usr/sbin/update-fonts-dir ]; then
+if [ "$1" != "upgrade" ] && [ -x "`which update-fonts-dir 2>/dev/null`" ]; then
#CMDS#
fi