forked from kiss-community/kiss
kiss: make pre-remove errors fatal
This commit is contained in:
parent
825e0305bf
commit
422262d629
2
kiss
2
kiss
@ -1186,7 +1186,7 @@ pkg_remove() {
|
|||||||
|
|
||||||
if [ -x "$sys_db/$1/pre-remove" ]; then
|
if [ -x "$sys_db/$1/pre-remove" ]; then
|
||||||
log "$1" "Running pre-remove script"
|
log "$1" "Running pre-remove script"
|
||||||
"$sys_db/$1/pre-remove" || :
|
"$sys_db/$1/pre-remove"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make a backup of the etcsums file (if it exists).
|
# Make a backup of the etcsums file (if it exists).
|
||||||
|
Loading…
Reference in New Issue
Block a user