aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-30 09:09:25 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-30 09:09:25 +0000
commit8b100789819db807847408550a7f8247beeef626 (patch)
tree4b40c8e603645ec08b437749947d6423e1041ff0 /kiss
parent2973aebf4bed9e03725cc79aae256d7f47c79171 (diff)
downloadcpt-8b100789819db807847408550a7f8247beeef626.tar.gz
kiss: Remove unneeded code
FossilOrigin-Name: f75eb876bb71e4487ea389cbca320365fb6ca9a50935a7df770921cc5cc5853e
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss5
1 files changed, 0 insertions, 5 deletions
diff --git a/kiss b/kiss
index 3281485..90db137 100755
--- a/kiss
+++ b/kiss
@@ -831,11 +831,6 @@ pkg_remove() {
# Disable globbing.
set -f
- # Ensure that the user leaves their machine in a working state by
- # refusing to remove the package which providees 'su'.
- grep -q "^$(command -v su)$" "$sys_db/$1/manifest" &&
- die "$1" "Removing su will break the system."
-
# Block being able to abort the script with 'Ctrl+C' during removal.
# Removes all risk of the user aborting a package removal leaving
# an incomplete package installed.