aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-13 00:00:51 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-13 00:00:51 +0000
commit2b5ba6a7e3abd638ab2b224101d4095293990a2f (patch)
tree5dccb6b70d3184353f9bc412d608b5e551b6f1cc
parent13f74a16d636fe0349079be02bdca843d9835409 (diff)
downloadcpt-2b5ba6a7e3abd638ab2b224101d4095293990a2f.tar.gz
kiss: remove root_check
FossilOrigin-Name: ddf9c79e9d47ab7511993090bd1135db9d35efb1584f3691674f8375606b9508
-rwxr-xr-xkiss8
1 files changed, 0 insertions, 8 deletions
diff --git a/kiss b/kiss
index 270d2e9..fe69d75 100755
--- 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