cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 2a4f93b4db29cfb79b72e8a2d1b5913d58d88e84
parent e8983a341b9fde37bfd3f46114add81140de3432
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue, 28 Jan 2020 20:41:51 +0200

kiss: Use cp to ensure binary is available until swap

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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