cpt

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

commit 69b471fe1fef6b6e2d74fae0af9a70b0d5190faf
parent 040145e11892b2c4036b6e72697354785a82e58d
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Wed, 19 Feb 2020 20:28:31 +0200

kiss: Run env additionally as root

Diffstat:
Mkiss | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -1345,6 +1345,16 @@ args() { done ;; + e|env) + # Display all KISS related environment variables as + # seen by the package manager. + env | grep -F KISS_ + + # Run the above as root as a means of debugging + # the environment. We'll see how handy it is over time. + [ "$uid" = 0 ] || as_root kiss env + ;; + i|install) pkg_order "$@" @@ -1359,7 +1369,6 @@ args() { done ;; - e|env) env | grep -F KISS_ ;; l|list) pkg_list "$@" ;; u|update) pkg_updates ;; s|search) for pkg; do pkg_find "$pkg" all; done ;;