From 465d4e269702802c76a0c8573c652046112792c4 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 24 Jul 2021 23:53:27 +0300 Subject: [PATCH] kiss: search db first when removing packages. Fixes #250 --- kiss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kiss b/kiss index e1bde18..0b42d90 100755 --- a/kiss +++ b/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 "$@"