diff --git a/common/hooks/post-install/03-remove-empty-dirs.sh b/common/hooks/post-install/03-remove-empty-dirs.sh index b2cb91b5727..00f198d52a2 100644 --- a/common/hooks/post-install/03-remove-empty-dirs.sh +++ b/common/hooks/post-install/03-remove-empty-dirs.sh @@ -4,7 +4,7 @@ hook() { find ${PKGDESTDIR} -type d -empty -print0|sort -z -r|while IFS="" read f; do _dir="${f##${PKGDESTDIR}}" [ -z "${_dir}" ] && continue - rmdir --ignore-fail-on-non-empty -p "$f" # &>/dev/null + rmdir --ignore-fail-on-non-empty -p "$f" &>/dev/null msg_warn "$pkgver: removed empty dir: ${_dir}\n" done # Create PKGDESTDIR in case it has been removed previously.