We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dba9a6 commit c1f289bCopy full SHA for c1f289b
install-remote.sh
@@ -9,9 +9,6 @@ set -euo pipefail
9
REPO_URL="https://github.com/hperezrodal/bash-library"
10
SYSTEM_INSTALL=${SYSTEM_INSTALL:-false}
11
12
-# Read version from version file
13
-VERSION=$(cat version)
14
-
15
# Determine installation paths based on whether it's a system install
16
if [ "$SYSTEM_INSTALL" = "true" ]; then
17
INSTALL_DIR="${BASH_LIBRARY_PATH:-/usr/local/lib/bash-library}"
@@ -76,6 +73,9 @@ chmod -R 755 "$INSTALL_DIR"
76
73
chmod 644 "$INSTALL_DIR/modules"/*.sh
77
74
chmod 755 "$INSTALL_DIR/scripts"/*.sh
78
75
+# Read version from version file
+VERSION=$(cat version)
+
79
# Add to shell initialization
80
echo "Adding to shell initialization..."
81
0 commit comments