cpt

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

commit 2ba1a2a0c562926bcbbf04a87e01f61b5b39c03c
parent 5a0592abceaf3c7da09ac541e5895521bdbad845
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Fri,  6 Mar 2020 16:29:41 +0200

kiss: Revert tty change. Closes #119

Diffstat:
Mkiss | 7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/kiss b/kiss @@ -1219,11 +1219,6 @@ args() { die "Arguments contain invalid characters: '!*[]'" esac - # Abort early if output is not a TTY and the requirement is that it - # be so (password prompts, user input, etc). This is a safeguard. - [ "${action##[bciru]*}" ] || [ -t 1 ] || - die "Output not a tty" - # Parse some arguments earlier to remove the need to duplicate code. case $action in c|checksum|s|search) @@ -1315,7 +1310,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.7.5 ;; + v|version) log kiss 1.7.6 ;; h|help|-h|--help|'') log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]'