Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/tidy/emptydirs.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libmakepkg/tidy/emptydirs.sh.in')
-rw-r--r--scripts/libmakepkg/tidy/emptydirs.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/libmakepkg/tidy/emptydirs.sh.in b/scripts/libmakepkg/tidy/emptydirs.sh.in
index 8cdb4b09..c7103e9e 100644
--- a/scripts/libmakepkg/tidy/emptydirs.sh.in
+++ b/scripts/libmakepkg/tidy/emptydirs.sh.in
@@ -27,6 +27,9 @@ source "$LIBRARY/util/message.sh"
source "$LIBRARY/util/option.sh"
+packaging_options+=('emptydirs')
+tidy_remove+=('tidy_emptydirs')
+
tidy_emptydirs() {
if check_option "emptydirs" "n"; then
msg2 "$(gettext "Removing empty directories...")"