forked from kiss-community/kiss
kiss: Run env additionally as root
This commit is contained in:
parent
040145e118
commit
69b471fe1f
11
kiss
11
kiss
@ -1345,6 +1345,16 @@ args() {
|
|||||||
done
|
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)
|
i|install)
|
||||||
pkg_order "$@"
|
pkg_order "$@"
|
||||||
|
|
||||||
@ -1359,7 +1369,6 @@ args() {
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
|
|
||||||
e|env) env | grep -F KISS_ ;;
|
|
||||||
l|list) pkg_list "$@" ;;
|
l|list) pkg_list "$@" ;;
|
||||||
u|update) pkg_updates ;;
|
u|update) pkg_updates ;;
|
||||||
s|search) for pkg; do pkg_find "$pkg" all; done ;;
|
s|search) for pkg; do pkg_find "$pkg" all; done ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user