From c56a11735e788d51d9a836d78d1fc492798da47d Mon Sep 17 00:00:00 2001 From: m2Giles <69128853+m2Giles@users.noreply.github.com> Date: Sun, 21 Jan 2024 13:05:56 -0500 Subject: [PATCH] feat: brew state via bind mount fix: colors for bluefin-cli feat: distrobox-host-exec if command not found. chore: update readme. chore: update readme fix: sudo set for user --- .../files/etc/profile.d/00-bluefin-cli-brew-firstrun.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/toolboxes/bluefin-cli/files/etc/profile.d/00-bluefin-cli-brew-firstrun.sh b/toolboxes/bluefin-cli/files/etc/profile.d/00-bluefin-cli-brew-firstrun.sh index 0ad8d4d..f943b73 100644 --- a/toolboxes/bluefin-cli/files/etc/profile.d/00-bluefin-cli-brew-firstrun.sh +++ b/toolboxes/bluefin-cli/files/etc/profile.d/00-bluefin-cli-brew-firstrun.sh @@ -5,11 +5,7 @@ if test "$(id -u)" -gt "0"; then if test ! -f /etc/linuxbrew.firstrun; then printf "\nBluefin-CLI First Run Setup\n\n" printf "Setting up sudo for ${bold}${USER}${normal}...\t\t\t " - su-exec root chmod +r /etc/sudoers - if grep -qv "${UID}" /etc/sudoers; then - echo "#${UID} ALL = (root) NOPASSWD:ALL" | su-exec root tee -a /etc/sudoers > /dev/null - fi - su-exec root chmod 600 /etc/sudoers + echo "#${UID} ALL = (root) NOPASSWD:ALL" | su-exec root tee -a /etc/sudoers > /dev/null printf "${green}[ OK ]${normal}\n" fi