1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-07-02 22:12:26 +00:00

kiss: Swap from install to mkdir. Thanks E5ten

This commit is contained in:
Dylan Araps 2020-05-09 21:02:47 +03:00
parent f18a4c339d
commit 10477f280f
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

3
kiss
View File

@ -1034,8 +1034,7 @@ pkg_install_files() {
*/) */)
# Skip directories if they already exist in the file system. # Skip directories if they already exist in the file system.
# (Think /usr/bin, /usr/lib, etc). # (Think /usr/bin, /usr/lib, etc).
[ -d "$line" ] || [ -d "$line" ] || mkdir -m "$oct" "$KISS_ROOT/$line"
install -o root -g root -m "$oct" -d "$KISS_ROOT/$line"
;; ;;
*) test "$1" "$KISS_ROOT/$line" || *) test "$1" "$KISS_ROOT/$line" ||