diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-13 00:00:51 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-13 00:00:51 +0000 |
commit | 2b5ba6a7e3abd638ab2b224101d4095293990a2f (patch) | |
tree | 5dccb6b70d3184353f9bc412d608b5e551b6f1cc | |
parent | 13f74a16d636fe0349079be02bdca843d9835409 (diff) | |
download | cpt-2b5ba6a7e3abd638ab2b224101d4095293990a2f.tar.gz |
kiss: remove root_check
FossilOrigin-Name: ddf9c79e9d47ab7511993090bd1135db9d35efb1584f3691674f8375606b9508
-rwxr-xr-x | kiss | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 |