cpt

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

commit c5ecd7c16c6bbc95df25f0e4d37c88a6b74cc575
parent d966e9be991f9547c49ba2810b7abe1ba46e677f
Author: Cem Keylan <cem@ckyln.com>
Date:   Sun, 19 Apr 2020 16:55:24 +0300

kiss: Revert 'kiss s' and 'kiss ss' changes

Diffstat:
Mcontrib/kiss-repodepends | 2+-
Mkiss | 14++++++--------
Mman/kiss.1 | 4+---
3 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/contrib/kiss-repodepends b/contrib/kiss-repodepends @@ -2,4 +2,4 @@ # # kiss-repodepends -cat "$(kiss ss "$1")/depends" 2>/dev/null +cat "$(kiss s "$1" | sed 1q)/depends" 2>/dev/null diff --git a/kiss b/kiss @@ -1330,15 +1330,14 @@ args() { done ;; - b|build) pkg_build "${@:?No packages installed}" ;; - l|list) pkg_list "$@" ;; - u|update) pkg_updates ;; - s|search) for pkg do pkg_find "$pkg" all; done ;; - ss|singlesearch) for pkg do pkg_find "$pkg"; done ;; - v|version) log kiss 1.13.0 ;; + b|build) pkg_build "${@:?No packages installed}" ;; + l|list) pkg_list "$@" ;; + u|update) pkg_updates ;; + s|search) for pkg do pkg_find "$pkg" all; done ;; + v|version) log kiss 1.13.1 ;; h|help|-h|--help|'') - log 'kiss [a|b|c|f|i|l|r|s|ss|u|v] [pkg] [pkg] [pkg]' + log 'kiss [a|b|c|f|i|l|r|s|u|v] [pkg] [pkg] [pkg]' log 'alternatives: List and swap to alternatives' log 'build: Build a package' log 'checksum: Generate checksums' @@ -1347,7 +1346,6 @@ args() { log 'list: List installed packages' log 'remove: Remove a package' log 'search: Search for a package' - log 'singlesearch: Output the first match of a package' log 'update: Check for updates' log 'version: Package manager version' ;; diff --git a/man/kiss.1 b/man/kiss.1 @@ -7,7 +7,7 @@ written in POSIX sh. Forked from KISS Linux. .PP .SH SYNOPSIS .IP kiss -[a|b|c|f|i|l|r|s|ss|u|v] [pkg] [pkg] [pkg] +[a|b|c|f|i|l|r|s|u|v] [pkg] [pkg] [pkg] .PP .SH OPTIONS .TP @@ -27,8 +27,6 @@ written in POSIX sh. Forked from KISS Linux. .TP \fBsearch\fR Search for a package .TP -\fBsinglesearch\fR Output the first match of a package -.TP \fBupdate\fR Check for updates .TP \fBversion\fR Package manager version