From 5eec42b5f03658558c8e581c55402397bafc96eb Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Tue, 28 Jan 2020 18:41:51 +0000 Subject: kiss: Use cp to ensure binary is available until swap FossilOrigin-Name: 2b032d83186cf270968e7515e63ecf5b7f827370fa9bbf45a2a13ed492dd74c6 --- 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 -- cgit v1.2.3