From f49e575b64c3817598476fb18d470d676f73d6b1 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 12 May 2020 10:51:12 +0300 Subject: [PATCH] kiss: Don't hardcode root --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index dd364c8..465d889 100755 --- a/kiss +++ b/kiss @@ -1046,7 +1046,7 @@ pkg_install_files() { [ -d "$KISS_ROOT/$line" ] && continue cp -fPp "$2/$line" "$KISS_ROOT/$line" - chown -h root:root "$KISS_ROOT/$line" + chown -h "$USER:$USER" "$KISS_ROOT/$line" else cp -f "$2/$line" "$KISS_ROOT/$line" chmod "$b$oct" "$KISS_ROOT/$line"