From fb7c766afa4719211b474f7a8cbdee16a2a61f6f Mon Sep 17 00:00:00 2001 From: Stevan Freeborn Date: Tue, 7 Jul 2026 20:01:52 -0500 Subject: [PATCH] chore: clean up script --- .chezmoiscripts/run_onchange_linux_install-packages.sh.tmpl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.chezmoiscripts/run_onchange_linux_install-packages.sh.tmpl b/.chezmoiscripts/run_onchange_linux_install-packages.sh.tmpl index 72e3ca7..1c46d7d 100644 --- a/.chezmoiscripts/run_onchange_linux_install-packages.sh.tmpl +++ b/.chezmoiscripts/run_onchange_linux_install-packages.sh.tmpl @@ -9,13 +9,10 @@ set -euo pipefail -# Ensure snap binaries are visible (chezmoi scripts may not inherit /snap/bin) -[ -d "/snap/bin" ] && export PATH="$PATH:/snap/bin" - CHEZMOI_SOURCE_DIR="{{ .chezmoi.sourceDir }}" echo "==> Updating apt package index..." -sudo apt-get update -q +sudo apt-get update -q || echo "Warning: apt update had non-critical errors" echo "==> Installing apt packages..." apt_packages=$(grep -v '^#' "$CHEZMOI_SOURCE_DIR/packages/linux.txt" | grep -v '^$' | tr '\n' ' ')