From 62d038e71942a4b944dfc215300663832fa79523 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 9 May 2020 21:20:38 +0300 Subject: [PATCH] kiss: Drop final install command. Thanks E5ten --- kiss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kiss b/kiss index 922caaf..e6f0c00 100755 --- a/kiss +++ b/kiss @@ -34,9 +34,6 @@ # - chown (POSIX) -h # - diff (POSIX) -U # -# BSD utilities -# - install (BSD, not POSIX) (still portable) -o, -g, -m, -d -# # Misc # - su* (sudo, doas, su) (in order, optional) # - git (downloads from git) (must link to curl) @@ -1049,8 +1046,8 @@ pkg_install_files() { cp -fPp "$2/$line" "${line%/*}" chown -h root:root "$KISS_ROOT/$line" else - install -o root -g root -m "$b$oct" \ - "$2/$line" "$KISS_ROOT/$line" + cp -f "$2/$line" "$KISS_ROOT/$line" + chmod "$b$oct" "$KISS_ROOT/$line" fi esac done