diff --git a/libexec/portzap/portzap-install b/libexec/portzap/portzap-install index e858991..952b6da 100755 --- a/libexec/portzap/portzap-install +++ b/libexec/portzap/portzap-install @@ -20,9 +20,7 @@ perform_update() parent=$(dirname "${target}") echo "rm ${target}" rm -f "${target}" - if [ -e "${parent}" ]; then - find "${parent}" -type d -maxdepth 0 -empty -exec rm -rf {} \; - fi + find "${parent}" -type d -maxdepth 0 -empty -delete done for file in ${add}; do target="${installdir}/${file}"