aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-02 11:21:06 +0000
committermerakor <cem@ckyln.com>2020-04-02 11:21:06 +0000
commiteb39aecd70f3b134af703d6a288307f608ef0714 (patch)
tree0eae5ee308f11cb57606901b3bf7ba9bb3e00299
parent37fded56915dd0ec278fb06a701612f09751489c (diff)
downloadcpt-eb39aecd70f3b134af703d6a288307f608ef0714.tar.gz
kiss: Squish alternatives list
FossilOrigin-Name: 14afb198e50b12667d964735f21e300d58a36b801984fc36df8feb38b7837416
-rwxr-xr-xkiss13
1 files changed, 2 insertions, 11 deletions
diff --git a/kiss b/kiss
index a676d82..e70a4f7 100755
--- a/kiss
+++ b/kiss
@@ -1259,20 +1259,11 @@ args() {
pkg_swap "$@"
else
- set +f
-
- log Alternatives:
-
# Go over each alternative and format the file
# name for listing. (pkg_name>usr>bin>ls)
- for pkg in "$sys_db/../choices"/*; do
+ set +f; for pkg in "$sys_db/../choices"/*; do
printf '%s\n' "${pkg##*/}"
- done |
-
- sed 's|>| /|; s|>|/|g; /\*/d'
-
- log note "Think about what you are doing"
- log note "for this feature requires thought"
+ done | sed 's|>| /|; s|>|/|g; /\*/d'
fi
;;