mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-09-28 12:22:39 -06:00
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"
|
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" |
|
awk '{L[n++]=$0}END{while(n--)print L[n]}' "$2/$pkg_db/${2##*/}/manifest" |
|
||||||
|
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
@ -826,7 +826,7 @@ pkg_install_files() (
|
|||||||
|
|
||||||
chown -h root:root "$line"
|
chown -h root:root "$line"
|
||||||
done
|
done
|
||||||
)
|
}
|
||||||
|
|
||||||
pkg_etc() {
|
pkg_etc() {
|
||||||
[ -d "$tar_dir/$pkg_name/etc" ] || return 0
|
[ -d "$tar_dir/$pkg_name/etc" ] || return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user