blend/pkgmanagers/pacman
2023-01-26 12:35:10 +05:30

10 lines
207 B
Bash
Executable file

#!/usr/bin/env bash
[[ -z "$SUDO_USER" ]] || {
[[ "$SUDO_USER" == root ]] || { SUDO_USER= sudo -u "$SUDO_USER" "$0" "$@"; exit $?; }
}
BLEND_COMMAND="sudo pacman $@" blend enter arch
ret=$?
exit $ret