commit 23502b473279e6120281882e25ea152775134867 parent cf3b58ab867721495cc18d10fcd14b9681c42ada Author: Dylan Araps <dylan.araps@gmail.com> Date: Tue, 13 Aug 2019 00:00:51 +0000 kiss: remove root_check Diffstat:
M | kiss | | | 8 | -------- |
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/kiss b/kiss @@ -822,14 +822,6 @@ pkg_clean() { (set +f; rm -f "$cac_dir/c-"* "$cac_dir/m-"* "$cac_dir/rm") } -root_check() { - # Ensure that the user has write permissions to '$KISS_ROOT'. - # When this variable is empty, a value of '/' is assumed. - [ -w "$KISS_ROOT/" ] || \ - die "No write permissions to '${KISS_ROOT:-/}'." \ - "You may need to run 'kiss' as root." -} - args() { # Parse script arguments manually. POSIX 'sh' has no 'getopts' # or equivalent built in. This is rather easy to do in our case