X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=debian%2Fdiogenes.postrm;h=620f9248e2fc60f1c30d9bebce25e32a77f2affc;hb=859b1897309b7596f2d6f9ce6c607b87a481af5f;hp=f3bbf63ff4151e8875c6886053e989815e91fa18;hpb=3b34a3453da45ee2f3672d8c8af7fb617d4b7560;p=diogenes.git diff --git a/debian/diogenes.postrm b/debian/diogenes.postrm index f3bbf63..620f924 100644 --- a/debian/diogenes.postrm +++ b/debian/diogenes.postrm @@ -63,7 +63,7 @@ purge) # # Remove ucf-managed files # - if [ -x $(which ucf) ] ; then + if [ -n "$(which ucf)" ] ; then for myfile in /etc/diogenes/apache.conf /etc/diogenes/diogenes.debian.inc.php; do ucf --purge $myfile rm -f $myfile $myfile.dpkg-dist $myfile.dpkg-new $myfile.dpkg-old