aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-28 18:41:51 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-28 18:41:51 +0000
commit5eec42b5f03658558c8e581c55402397bafc96eb (patch)
tree10ca39093aa1dff429421184e3ce0641f109036c /kiss
parent1c7c1ed2f80b09e12addaf46753bc1679c7251d3 (diff)
downloadcpt-5eec42b5f03658558c8e581c55402397bafc96eb.tar.gz
kiss: Use cp to ensure binary is available until swap
FossilOrigin-Name: 2b032d83186cf270968e7515e63ecf5b7f827370fa9bbf45a2a13ed492dd74c6
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
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