mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 08:30:05 -07:00
kiss: minor changes
This commit is contained in:
parent
79fec5bf70
commit
46b48e4003
11
kiss
11
kiss
@ -414,10 +414,9 @@ pkg_order() {
|
||||
|
||||
# Filter the list, only keeping explicit packages. The purpose of these
|
||||
# two loops is to order the argument list based on dependence.
|
||||
for pkg in $deps; do contains "$*" "$pkg" && {
|
||||
order="$order $pkg "
|
||||
redro=" $pkg $redro"
|
||||
} done
|
||||
for pkg in $deps; do
|
||||
contains "$*" "$pkg" && order="$order $pkg " redro=" $pkg $redro"
|
||||
done
|
||||
|
||||
deps=
|
||||
}
|
||||
@ -549,6 +548,8 @@ pkg_etcsums() (
|
||||
|
||||
cd "$pkg_dir/$1"
|
||||
|
||||
# This can't be a simple 'find -exec' as 'sh256' is a shell function
|
||||
# and not a real command of any kind. This is the shell equivalent.
|
||||
find etc -type f | while read -r line; do
|
||||
sh256 "$line"
|
||||
done > "$pkg_dir/$1/$pkg_db/$1/etcsums"
|
||||
@ -972,7 +973,7 @@ pkg_install_files() {
|
||||
chmod "$b$oct" "$KISS_ROOT/$line"
|
||||
fi
|
||||
esac
|
||||
done
|
||||
done ||:
|
||||
}
|
||||
|
||||
pkg_remove_files() {
|
||||
|
Loading…
Reference in New Issue
Block a user