mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-09-28 04:12:40 -06:00
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() {
|
pkg_remove() {
|
||||||
# Remove a package and all of its files. The '/etc' directory is handled
|
# Remove a package and all of its files. The '/etc' directory is handled
|
||||||
# differently and configuration files are *not* overwritten.
|
# differently and configuration files are *not* overwritten.
|
||||||
|
[ -d "$sys_db/$1" ] || die "'$1' not installed"
|
||||||
|
|
||||||
# Intended behavior.
|
# Intended behavior.
|
||||||
# shellcheck disable=2030,2031
|
# shellcheck disable=2030,2031
|
||||||
|
Loading…
Reference in New Issue
Block a user