mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
kiss: improve install performance slightly
This commit is contained in:
parent
9d34420bee
commit
001ce0396f
4
kiss
4
kiss
@ -1019,7 +1019,7 @@ pkg_install_files() {
|
|||||||
# Reverse the manifest file so that we start shallow and go deeper as we
|
# Reverse the manifest file so that we start shallow and go deeper as we
|
||||||
# iterate over each item. This is needed so that directories are created
|
# iterate over each item. This is needed so that directories are created
|
||||||
# going down the tree.
|
# going down the tree.
|
||||||
sort "$2/$pkg_db/${2##*/}/manifest" |
|
sort "$2/$pkg_db/${2##*/}/manifest" > "$mak_dir/if"
|
||||||
|
|
||||||
while read -r file; do
|
while read -r file; do
|
||||||
# Grab the octal permissions so that directory creation
|
# Grab the octal permissions so that directory creation
|
||||||
@ -1066,7 +1066,7 @@ pkg_install_files() {
|
|||||||
[ -h "$_file" ] || chmod "$b$oct" "$_file"
|
[ -h "$_file" ] || chmod "$b$oct" "$_file"
|
||||||
}
|
}
|
||||||
esac
|
esac
|
||||||
done || :
|
done < "$mak_dir/if" || :
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_remove_files() {
|
pkg_remove_files() {
|
||||||
|
Loading…
Reference in New Issue
Block a user