]> git.donarmstrong.com Git - ca-certificates.git/blobdiff - debian/postrm
Imported Debian version 20061027.2
[ca-certificates.git] / debian / postrm
index 41a8f2e4587d5dc20c788fb6a9e27cbd914da145..cc8ea2189b5f53182626ebb77d0c54fd332af6a5 100644 (file)
@@ -18,11 +18,10 @@ set -e
 
 case "$1" in
     remove)
-       cd /etc/ssl/certs
        echo -n "Removing hash symlinks in /etc/ssl/certs ..."
-       find . -type l -print | while read h
+       find /etc/ssl/certs -type l -print | while read h
        do
-        test -f $h || rm -f $h
+        test -f "$h" || rm -f "$h"
        done
        echo done.
        ;;