From b6b374dbc60227db5b2d77905b1123f5538b66f9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 17 Jul 2021 18:18:25 +0300 Subject: [PATCH] kiss: add back check --- kiss | 1 + 1 file changed, 1 insertion(+) diff --git a/kiss b/kiss index 72a2196..31e9160 100755 --- a/kiss +++ b/kiss @@ -1304,6 +1304,7 @@ pkg_removable() { pkg_remove() { # Remove a package and all of its files. The '/etc' directory is handled # differently and configuration files are *not* overwritten. + [ -d "$sys_db/$1" ] || die "'$1' not installed" # Intended behavior. # shellcheck disable=2030,2031