Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
kiss: search db first when removing packages. Fixes #250
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Jul 24, 2021
1 parent 3108ca2 commit 465d4e2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kiss
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

Expand Down

0 comments on commit 465d4e2

Please sign in to comment.