GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — mac_setup/homebrew-setup.sh at master · eatdrinksleepcode/mac_setup
This repository was archived by the owner on Apr 12, 2022. It is now read-only.
Expand file tree/ Copy pathhomebrew-setup.shMore file actions executable file ·10 lines (8 loc) · 601 Bytes / Copy pathhomebrew-setup.shFile metadata and controlsexecutable file ·10 lines (8 loc) · 601 Bytes 1 2 3 4 5 6 7 8 9 10 set -euo pipefail targetUser=${1:-$(whoami)} targetGroup=brew echo "Setting up '${targetUser}' to use Homebrew..." echo "Loooking for the 'brew' group:" (dscl . list /Groups | grep "^${targetGroup}$" > /dev/null) || (sudo dseditgroup -o create "${targetGroup}" -r "Homebrew users" && echo "Group '${targetGroup}' created") echo "Checking for membership in the '${targetGroup}' group:" (id -Gn "${targetUser}" | tr ' ' '\n' | grep "^${targetGroup}$" > /dev/null) || (sudo dseditgroup -o edit -a "${targetUser}" -t user "${targetGroup}" && echo "User '${targetUser}' added to group '${targetGroup}'") |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |