mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-06 02:49:23 +00:00
chore(scripts): remove unused VERBOSE declarations
Remove VERBOSE="${VERBOSE:-0}" from scripts that never reference
$VERBOSE after setting it. The variable is already set in
scripts/shared.sh line 5.
This commit is contained in:
@@ -5,9 +5,6 @@ set -euo pipefail
|
||||
# shellcheck source="shared.sh"
|
||||
source "${DOTFILES}/config/shared.sh"
|
||||
|
||||
# Enable verbosity with VERBOSE=1
|
||||
VERBOSE="${VERBOSE:-0}"
|
||||
|
||||
msgr run "Installing gh (GitHub Client) extensions"
|
||||
|
||||
if ! command -v gh &> /dev/null; then
|
||||
|
||||
@@ -7,9 +7,6 @@ set -euo pipefail
|
||||
# shellcheck source=shared.sh
|
||||
source "${DOTFILES}/config/shared.sh"
|
||||
|
||||
# Enable verbosity with VERBOSE=1
|
||||
VERBOSE="${VERBOSE:-0}"
|
||||
|
||||
msgr run "Installing git-crypt"
|
||||
|
||||
if ! command -v git-crypt &> /dev/null; then
|
||||
|
||||
@@ -5,9 +5,6 @@ set -euo pipefail
|
||||
# shellcheck source=shared.sh
|
||||
source "$DOTFILES/config/shared.sh"
|
||||
|
||||
# Enable verbosity with VERBOSE=1
|
||||
VERBOSE="${VERBOSE:-0}"
|
||||
|
||||
msgr run "Installing go packages"
|
||||
|
||||
! x-have "go" && msgr err "go hasn't been installed yet." && exit 0
|
||||
|
||||
@@ -5,9 +5,6 @@ set -euo pipefail
|
||||
# shellcheck source=shared.sh
|
||||
source "$DOTFILES/config/shared.sh"
|
||||
|
||||
# Enable verbosity with VERBOSE=1
|
||||
VERBOSE="${VERBOSE:-0}"
|
||||
|
||||
msgr msg "Starting to install npm packages"
|
||||
|
||||
if ! command -v npm &> /dev/null; then
|
||||
|
||||
@@ -5,9 +5,6 @@ set -euo pipefail
|
||||
# shellcheck source=shared.sh
|
||||
source "$DOTFILES/config/shared.sh"
|
||||
|
||||
# Enable verbosity with VERBOSE=1
|
||||
VERBOSE="${VERBOSE:-0}"
|
||||
|
||||
# Check if ntfy is already installed
|
||||
if x-have "ntfy"; then
|
||||
msgr "done" "ntfy already installed"
|
||||
|
||||
@@ -5,9 +5,6 @@ set -euo pipefail
|
||||
# shellcheck source=shared.sh
|
||||
source "$DOTFILES/config/shared.sh"
|
||||
|
||||
# Enable verbosity with VERBOSE=1
|
||||
VERBOSE="${VERBOSE:-0}"
|
||||
|
||||
msgr run "Starting to install Python packages"
|
||||
|
||||
# Ensure uv is available
|
||||
|
||||
@@ -4,9 +4,6 @@ set -euo pipefail
|
||||
# Ismo Vuorinen <https://github.com/ivuorinen> 2018
|
||||
#
|
||||
|
||||
# Enable verbosity with VERBOSE=1
|
||||
VERBOSE="${VERBOSE:-0}"
|
||||
|
||||
# Check if the script is running on macOS
|
||||
if [ "$(uname)" != "Darwin" ]; then
|
||||
msgr warn "Not a macOS system"
|
||||
|
||||
Reference in New Issue
Block a user