forked from kiss-community/kiss
kiss: add back check
This commit is contained in:
parent
571b137df0
commit
b6b374dbc6
1
kiss
1
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
|
||||
|
Loading…
Reference in New Issue
Block a user