From 6585227c26725c350d83514dc8483f7170ba4489 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Sun, 5 Nov 2023 04:37:23 +0000 Subject: [PATCH] Latest --- home/.chezmoitemplates/darwin/Brewfile | 2 +- home/dot_local/bin/executable_provision.tmpl | 2 +- scripts/provision.sh | 2 +- scripts/src/provision.sh.tmpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home/.chezmoitemplates/darwin/Brewfile b/home/.chezmoitemplates/darwin/Brewfile index 2cc728f2..ee562e1b 100644 --- a/home/.chezmoitemplates/darwin/Brewfile +++ b/home/.chezmoitemplates/darwin/Brewfile @@ -9,13 +9,13 @@ tap "homebrew/bundle" if OS.mac? brew "coreutils" brew "findutils" - brew "gnu-sed" brew "m-cli" end brew "age" brew "glow" brew "gnupg" brew "go" +brew "gsed" brew "gum" brew "jq" brew "node" diff --git a/home/dot_local/bin/executable_provision.tmpl b/home/dot_local/bin/executable_provision.tmpl index 038bb878..722498e5 100644 --- a/home/dot_local/bin/executable_provision.tmpl +++ b/home/dot_local/bin/executable_provision.tmpl @@ -362,7 +362,7 @@ else fi # @description Ensure gsed is available on macOS (for modifying `/etc/sudoers` to remove passwordless sudo) -if [ -n "$REMOVE_TMP_SUDOERS" ] && [ -d /Applications ] && [ -d /System ]; then +if [ -d /Applications ] && [ -d /System ]; then if ! command -v gsed > /dev/null; then if command -v brew > /dev/null; then brew install gsed diff --git a/scripts/provision.sh b/scripts/provision.sh index e8f2c0e1..863d5326 100644 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -408,7 +408,7 @@ else fi # @description Ensure gsed is available on macOS (for modifying `/etc/sudoers` to remove passwordless sudo) -if [ -n "$REMOVE_TMP_SUDOERS" ] && [ -d /Applications ] && [ -d /System ]; then +if [ -d /Applications ] && [ -d /System ]; then if ! command -v gsed > /dev/null; then if command -v brew > /dev/null; then brew install gsed diff --git a/scripts/src/provision.sh.tmpl b/scripts/src/provision.sh.tmpl index 2fa24f3f..33eb9ca4 100644 --- a/scripts/src/provision.sh.tmpl +++ b/scripts/src/provision.sh.tmpl @@ -286,7 +286,7 @@ else fi # @description Ensure gsed is available on macOS (for modifying `/etc/sudoers` to remove passwordless sudo) -if [ -n "$REMOVE_TMP_SUDOERS" ] && [ -d /Applications ] && [ -d /System ]; then +if [ -d /Applications ] && [ -d /System ]; then if ! command -v gsed > /dev/null; then if command -v brew > /dev/null; then brew install gsed