diff --git a/installers/install_agy.sh b/installers/install_agy.sh index 7685fb3..69335ff 100644 --- a/installers/install_agy.sh +++ b/installers/install_agy.sh @@ -7,12 +7,6 @@ # Antigravity CLI Installer Script (Linux Only) # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail # Constants diff --git a/installers/install_asciicinema.sh b/installers/install_asciicinema.sh index d8fbe2a..5ba51e1 100644 --- a/installers/install_asciicinema.sh +++ b/installers/install_asciicinema.sh @@ -7,12 +7,6 @@ # asciinema Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail TMP_DIR="$(make_temp_dir)" diff --git a/installers/install_bat.sh b/installers/install_bat.sh index 2228aba..0462470 100644 --- a/installers/install_bat.sh +++ b/installers/install_bat.sh @@ -7,12 +7,6 @@ # Bat Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail TMP_DIR="$(make_temp_dir)" diff --git a/installers/install_docker.sh b/installers/install_docker.sh index ac66dd0..2b0e382 100644 --- a/installers/install_docker.sh +++ b/installers/install_docker.sh @@ -7,12 +7,6 @@ # Docker Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail # ─── Installation Logic ────────────────────────────────────────────── diff --git a/installers/install_lazygit.sh b/installers/install_lazygit.sh index 9697b65..f90aad6 100755 --- a/installers/install_lazygit.sh +++ b/installers/install_lazygit.sh @@ -7,12 +7,6 @@ # lazygit Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail # ─── Installation Logic ────────────────────────────────────────────── diff --git a/installers/install_node.sh b/installers/install_node.sh index fc27986..3dce836 100644 --- a/installers/install_node.sh +++ b/installers/install_node.sh @@ -7,12 +7,6 @@ # Node.js and NVM Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail TMP_DIR="$(make_temp_dir)" diff --git a/installers/install_nvim.sh b/installers/install_nvim.sh index e0c4ab2..5b4e97a 100644 --- a/installers/install_nvim.sh +++ b/installers/install_nvim.sh @@ -7,12 +7,6 @@ # Neovim Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail NVIM_VERSION="0.12.0" diff --git a/installers/install_pnpm.sh b/installers/install_pnpm.sh index 729719c..27eec6a 100644 --- a/installers/install_pnpm.sh +++ b/installers/install_pnpm.sh @@ -18,12 +18,6 @@ # curl -fsSL https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash - # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail TMP_DIR="$(make_temp_dir)" diff --git a/installers/install_rust.sh b/installers/install_rust.sh index 065ac5c..351c97b 100644 --- a/installers/install_rust.sh +++ b/installers/install_rust.sh @@ -7,12 +7,6 @@ # Rust Installer Script (Simplified Local Rustup Init) # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail TMP_DIR="$(make_temp_dir)" diff --git a/installers/install_starship.sh b/installers/install_starship.sh index 3f2f6a0..3ee872f 100644 --- a/installers/install_starship.sh +++ b/installers/install_starship.sh @@ -7,12 +7,6 @@ # Starship Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail TMP_DIR="$(make_temp_dir)" diff --git a/installers/install_uv.sh b/installers/install_uv.sh index baf0a77..159b64f 100644 --- a/installers/install_uv.sh +++ b/installers/install_uv.sh @@ -7,12 +7,6 @@ # uv Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail TMP_DIR="$(make_temp_dir)" diff --git a/installers/install_yay.sh b/installers/install_yay.sh index 34bb8a7..105f0b9 100755 --- a/installers/install_yay.sh +++ b/installers/install_yay.sh @@ -7,12 +7,6 @@ # Yay Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail # ─── Installation Logic ────────────────────────────────────────────── diff --git a/installers/install_yazi.sh b/installers/install_yazi.sh index 5c70f71..dc80b0c 100755 --- a/installers/install_yazi.sh +++ b/installers/install_yazi.sh @@ -7,12 +7,6 @@ # Yazi Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail TMP_DIR="$(make_temp_dir)" diff --git a/installers/install_zoxide.sh b/installers/install_zoxide.sh index c03f137..5d72b73 100755 --- a/installers/install_zoxide.sh +++ b/installers/install_zoxide.sh @@ -7,12 +7,6 @@ # Zoxide Installer Script # -# Prevent standalone execution -if [ -z "${_LIB_COMMON_SOURCED:-}" ]; then - echo "Error: This script must be run through the 'b' CLI." >&2 - exit 1 -fi - set -euo pipefail install_curl() {