Skip to content

Commit

Permalink
feat: brew state via bind mount
Browse files Browse the repository at this point in the history
fix: colors for bluefin-cli

feat: distrobox-host-exec if command not found.

chore: update readme.

chore: update readme

fix: sudo set for user
  • Loading branch information
m2Giles committed Jan 21, 2024
1 parent 6f1531c commit c56a117
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c56a117

Please sign in to comment.