cpt

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

commit 55e603ab66a307ba742dc905811331fa753a6f48
parent a453e84ed210e829959c46f2ee0f36040ff91707
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Fri, 31 Jan 2020 11:38:52 +0200

docs: update

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

diff --git a/kiss b/kiss @@ -50,12 +50,12 @@ prompt() { as_root() { # Simple function to run a command as root using either 'sudo', - # 'doas' or 'su'. This also handles KISS' environment variables. + # 'doas' or 'su'. Hurrah for choice. log "Using '${su:-su}'" case $su in *sudo) sudo -Eu "${user:-root}" -- "$@" ;; - *doas) doas -u "${user:-root}" -- "$@" ;; + *doas) doas -u "${user:-root}" -- "$@" ;; *) su -pc "$* <&3" "${user:-root}" 3<&0 </dev/tty ;; esac }