forked from kiss-community/kiss
kiss: Remove func subshell use
This commit is contained in:
parent
c8029d6a71
commit
6e3064d0f8
4
kiss
4
kiss
@ -813,7 +813,7 @@ pkg_swap() {
|
||||
sed -i "$(esc "$PWD/$alt" "$2")" "../installed/$1/manifest"
|
||||
}
|
||||
|
||||
pkg_install_files() (
|
||||
pkg_install_files() {
|
||||
awk '{L[n++]=$0}END{while(n--)print L[n]}' "$2/$pkg_db/${2##*/}/manifest" |
|
||||
|
||||
while read -r line; do
|
||||
@ -826,7 +826,7 @@ pkg_install_files() (
|
||||
|
||||
chown -h root:root "$line"
|
||||
done
|
||||
)
|
||||
}
|
||||
|
||||
pkg_etc() {
|
||||
[ -d "$tar_dir/$pkg_name/etc" ] || return 0
|
||||
|
Loading…
Reference in New Issue
Block a user