cpt

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

commit 5d96b2871f1b67cb0dd149bf49be48c104754b0a
parent 5bfc5cb0ae34a26f60c71ac296172c3c12d39db2
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Wed, 12 Feb 2020 10:38:38 +0200

kiss: Fix alternatives bug. Closes #111

Diffstat:
Mkiss | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kiss b/kiss @@ -824,7 +824,7 @@ pkg_swap() { # Convert the current owner to an alternative and rewrite # its manifest file to reflect this. - cp -f "$2" "$pkg_owns>${alt#*>}" + cp -Pf "$2" "$pkg_owns>${alt#*>}" sed -i "$(esc "$2" "$PWD/$pkg_owns>${alt#*>}")" \ "../installed/$pkg_owns/manifest" fi @@ -1308,7 +1308,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.5.3 ;; + v|version) log kiss 1.5.4 ;; h|help|-h|--help|'') log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]'