From 2a4f93b4db29cfb79b72e8a2d1b5913d58d88e84 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 28 Jan 2020 20:41:51 +0200 Subject: [PATCH] kiss: Use cp to ensure binary is available until swap --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 9bf5cc0..24098e0 100755 --- a/kiss +++ b/kiss @@ -875,7 +875,7 @@ pkg_swap() { # Convert the current owner to an alternative and rewrite # its manifest file to reflect this. - dosu mv -f "'$2'" "'$pkg_owns>${alt#*>}'" + dosu cp -f "'$2'" "'$pkg_owns>${alt#*>}'" dosu sed -i "'s/$sea/$rep/'" "'../installed/$pkg_owns/manifest'" fi