Skip to content

Commit c1f289b

Browse files
committed
fix: install-remote.sh version
1 parent 0dba9a6 commit c1f289b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install-remote.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ set -euo pipefail
99
REPO_URL="https://github.com/hperezrodal/bash-library"
1010
SYSTEM_INSTALL=${SYSTEM_INSTALL:-false}
1111

12-
# Read version from version file
13-
VERSION=$(cat version)
14-
1512
# Determine installation paths based on whether it's a system install
1613
if [ "$SYSTEM_INSTALL" = "true" ]; then
1714
INSTALL_DIR="${BASH_LIBRARY_PATH:-/usr/local/lib/bash-library}"
@@ -76,6 +73,9 @@ chmod -R 755 "$INSTALL_DIR"
7673
chmod 644 "$INSTALL_DIR/modules"/*.sh
7774
chmod 755 "$INSTALL_DIR/scripts"/*.sh
7875

76+
# Read version from version file
77+
VERSION=$(cat version)
78+
7979
# Add to shell initialization
8080
echo "Adding to shell initialization..."
8181
if [ "$SYSTEM_INSTALL" = "true" ]; then

0 commit comments

Comments
 (0)