forked from kiss-community/kiss
kiss: search db first when removing packages. Fixes #250
This commit is contained in:
parent
3108ca2d71
commit
465d4e2697
7
kiss
7
kiss
@ -1701,6 +1701,13 @@ args() {
|
||||
set -- "${PWD##*/}"
|
||||
esac
|
||||
|
||||
# Search the installed database first when removing packages. Dependency
|
||||
# files may differ when repositories change. Removal is not dependent on
|
||||
# the state of the repository.
|
||||
case $action in r|remove)
|
||||
export KISS_PATH=$sys_db:$KISS_PATH
|
||||
esac
|
||||
|
||||
# Order the argument list based on dependence.
|
||||
pkg_order "$@"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user