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
1 changed files with 1 additions and 2 deletions

3
kiss
View File

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