aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-30 09:18:12 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-30 09:18:12 +0000
commit9ac794e171def9eaacbc8b7311ec4d5bd63582bd (patch)
tree0fd3e3177c6383352342d275af3ab88df486dc78 /kiss
parent91044de3ce7df973c2eae48c029bf164467449c5 (diff)
downloadcpt-9ac794e171def9eaacbc8b7311ec4d5bd63582bd.tar.gz
kiss: Revert to sed -i
FossilOrigin-Name: f8b958af34d54d494295d114fddd5d88d9ffa082b9dd6ced75d497dc14996c38
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss3
1 files changed, 0 insertions, 3 deletions
diff --git a/kiss b/kiss
index 8a82e4d..d92d220 100755
--- a/kiss
+++ b/kiss
@@ -737,7 +737,6 @@ pkg_conflicts() {
"$tar_dir/$p_name/$cho_dir/$p_name$con_name"
regex_escape "$con" "/$cho_dir/$p_name$con_name"
- mani=
# Rewrite the package's manifest to update its location
# to its new spot (and name) in the choices directory.
@@ -783,7 +782,6 @@ pkg_swap() {
log "Swapping '$2' from '$pkg_owns' to '$1'"
regex_escape "$2" "$PWD/$pkg_owns>${alt#*>}"
- mani=${PWD%/*}/installed/$pkg_owns/manifest
# Convert the current owner to an alternative and rewrite
# its manifest file to reflect this.
@@ -792,7 +790,6 @@ pkg_swap() {
fi
regex_escape "$PWD/$alt" "$2"
- mani=${PWD%/*}/installed/$1/manifest
# Convert the desired alternative to a real file and rewrite
# the manifest file to reflect this. The reverse of above.