diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index d258509d878..d0e455471ea 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -237,7 +237,7 @@ run_pkg_hooks() { unset_package_funcs() { local f - for f in "$(typeset -F)"; do + for f in $(typeset -F); do case "$f" in *_package) unset -f "$f"