Revert "common/xbps: make unset_package_funcs and run_pkg_hooks nonfatal"
This reverts commit f3d4dc20d7
.
This commit is contained in:
parent
2c0eba2775
commit
d9f67bcb36
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ run_pkg_hooks() {
|
|||
unset_package_funcs() {
|
||||
local f
|
||||
|
||||
for f in $(typeset -F|grep -E '_package$' || :); do
|
||||
for f in $(typeset -F|grep -E '_package$'); do
|
||||
eval unset -f $f
|
||||
done
|
||||
}
|
||||
|
@ -263,7 +263,7 @@ unset_package_funcs() {
|
|||
get_subpkgs() {
|
||||
local args list
|
||||
|
||||
args="$(typeset -F|grep -E '_package$' || :)"
|
||||
args="$(typeset -F|grep -E '_package$')"
|
||||
set -- ${args}
|
||||
while [ $# -gt 0 ]; do
|
||||
list+=" ${3%_package}"; shift 3
|
||||
|
|
Loading…
Reference in a new issue