diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-30 09:09:25 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-30 09:09:25 +0000 |
commit | 8b100789819db807847408550a7f8247beeef626 (patch) | |
tree | 4b40c8e603645ec08b437749947d6423e1041ff0 | |
parent | 2973aebf4bed9e03725cc79aae256d7f47c79171 (diff) | |
download | cpt-8b100789819db807847408550a7f8247beeef626.tar.gz |
kiss: Remove unneeded code
FossilOrigin-Name: f75eb876bb71e4487ea389cbca320365fb6ca9a50935a7df770921cc5cc5853e
-rwxr-xr-x | kiss | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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. |