]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postrm-xfonts
dh: When there's an -indep override target without -arch, or vice versa, avoid acting...
[debhelper.git] / autoscripts / postrm-xfonts
index b5dd964ba996628813073dd84579e29c4107e0b4..cd476a3ddc42c5f550a8fd12dd85599266f474c4 100644 (file)
@@ -1,3 +1,3 @@
-if [ "$1" != "upgrade" -a -x /usr/sbin/update-fonts-dir ]; then
-#CMDS#
+if [ -x "`which update-fonts-dir 2>/dev/null`" ]; then
+       #CMDS#
 fi