]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postrm-xfonts
r1737: releasing version 4.2.30
[debhelper.git] / autoscripts / postrm-xfonts
index a9afcabecfc852ecd5df3ee016e20f46aa1f4b88..42fea687c581c573cb3d8052c31a68bd22bf9f9a 100644 (file)
@@ -1,3 +1,3 @@
-if [ "$1" != "upgrade" -a -x /usr/sbin/update-fonts-dir ]; then
-       #CMDS#
+if [ "$1" != "upgrade" ] && [ -x "`which update-fonts-dir 2>/dev/null`" ]; then
+#CMDS#
 fi