kiss: add back check

This commit is contained in:
Dylan Araps 2021-07-17 18:18:25 +03:00
parent 571b137df0
commit b6b374dbc6
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 0 deletions

1
kiss
View File

@ -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