diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-28 18:41:51 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-28 18:41:51 +0000 |
commit | 5eec42b5f03658558c8e581c55402397bafc96eb (patch) | |
tree | 10ca39093aa1dff429421184e3ce0641f109036c | |
parent | 1c7c1ed2f80b09e12addaf46753bc1679c7251d3 (diff) | |
download | cpt-5eec42b5f03658558c8e581c55402397bafc96eb.tar.gz |
kiss: Use cp to ensure binary is available until swap
FossilOrigin-Name: 2b032d83186cf270968e7515e63ecf5b7f827370fa9bbf45a2a13ed492dd74c6
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |