forked from kiss-community/kiss
kiss: Use sort to reverse the manifest
This commit is contained in:
parent
6f31468c94
commit
6ce01392bd
2
kiss
2
kiss
@ -821,7 +821,7 @@ pkg_install_files() {
|
|||||||
# Reverse the manifest file so that we start shallow and go
|
# Reverse the manifest file so that we start shallow and go
|
||||||
# deeper as we iterate over each item. This is needed so that
|
# deeper as we iterate over each item. This is needed so that
|
||||||
# directories are created going down the tree.
|
# directories are created going down the tree.
|
||||||
awk '{L[n++]=$0}END{while(n--)print L[n]}' "$2/$pkg_db/${2##*/}/manifest" |
|
sort "$2/$pkg_db/${2##*/}/manifest" |
|
||||||
|
|
||||||
while read -r line; do i=$((i+1))
|
while read -r line; do i=$((i+1))
|
||||||
# Grab the octal permissions so that directory creation
|
# Grab the octal permissions so that directory creation
|
||||||
|
Loading…
Reference in New Issue
Block a user