diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-19 18:28:31 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-19 18:28:31 +0000 |
commit | 989e1195af8ff44b599b2378e95c798736cc163e (patch) | |
tree | 43b0b5d748bebfd2b1b66bbd551c7a1116e61f06 /kiss | |
parent | ced8e308a25cb04f73bc77a3fa1dd67fcbb626c8 (diff) | |
download | cpt-989e1195af8ff44b599b2378e95c798736cc163e.tar.gz |
kiss: Run env additionally as root
FossilOrigin-Name: c795f20e4626fac8d5ba149ee76a1ca6b4d903628400ee0976cb107d56fb2e0f
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 ;; |