cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit efad71233391e2891cbbe8bc147de4a37c2ad0c6
parent cad980317eb10b6f64a30a194ae58b2cba065b86
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu, 30 Jan 2020 11:09:26 +0200

kiss: Remove unneeded code

Diffstat:
Mkiss | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git 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.