index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jeremy Huntwork <jhuntwork@lightcubesolutions.com> | 2012-05-28 16:13:35 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-25 23:07:49 -0500 |
commit | d310b6f85cd664a45a19d74678b0a4abeb3c5e25 (patch) | |
tree | c0d0ab95acf1a270478ae7b9d95d4c839ec5ab17 /scripts/makepkg.sh.in | |
parent | 3a24e44206c38577ef4405bf66583e2084688e5c (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index bd7a44fc..c0556918 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1048,7 +1048,7 @@ tidy_install() { local pt for pt in "${PURGE_TARGETS[@]}"; do if [[ ${pt} = "${pt//\/}" ]]; then - find . -type f -name "${pt}" -exec rm -f -- '{}' \; + find . ! -type d -name "${pt}" -exec rm -f -- '{}' \; else rm -f ${pt} fi |