aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md8
-rwxr-xr-xkiss4
2 files changed, 10 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e5a7540..89df0eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,14 @@ this project _somewhat_ adheres to [Semantic Versioning].
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
+1.20.3 - 2020-05-09
+-------------------
+
+### Fixed
+- Fixed an alternatives bug caused by the previous patch, where the package
+ moving to `/var/db/kiss/choices` would take the name of the preferred package.
+
+
1.20.2 - 2020-05-09
-------------------
diff --git a/kiss b/kiss
index 37e153c..5f62511 100755
--- a/kiss
+++ b/kiss
@@ -940,7 +940,7 @@ pkg_swap() {
# the manifest file to reflect this. The reverse of above.
mv -f "$alt" "$2"
sed "$(esc "$PWD/$alt" "$2")" "../installed/$1/manifest" |
- sort -r -o "../installed/$pkg_owns/manifest"
+ sort -r -o "../installed/$1/manifest"
}
pkg_etc() {
@@ -1485,7 +1485,7 @@ args() {
l|list) pkg_list "$@" ;;
u|update) pkg_updates ;;
s|search) for pkg do pkg_find "$pkg" all; done ;;
- v|version) log kiss 1.20.2 ;;
+ v|version) log kiss 1.20.3 ;;
h|help|-h|--help|'')
exec 2>&1