diff --git a/kiss b/kiss index 22aeff4..5d5dc31 100755 --- a/kiss +++ b/kiss @@ -821,7 +821,7 @@ pkg_install_files() { # 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 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)) # Grab the octal permissions so that directory creation