]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-xfonts
r528: * Consistently use the which command instead of command -v or hardcoded
[debhelper.git] / autoscripts / postinst-xfonts
index 4c5ab1b8f0d7d0d332815db3ee41534711a76376..96390e4e04ea162dc8fee6b20b89d11db38cede8 100644 (file)
@@ -1,3 +1,3 @@
-if [ -x /usr/sbin/update-fonts-dir ]; then
+if which update-fonts-dir >/dev/null 2>&1; then
        #CMDS#
 fi