Skip to content

Commit 3034ef4

Browse files
committed
fix: install-remote.sh version
1 parent c1f289b commit 3034ef4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install-remote.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ else
5555
git clone "$REPO_URL" "$TEMP_DIR"
5656
cp -r "$TEMP_DIR/modules" "$INSTALL_DIR/"
5757
cp -r "$TEMP_DIR/scripts" "$INSTALL_DIR/"
58+
cp "$TEMP_DIR/version" "$INSTALL_DIR/"
5859
cp "$TEMP_DIR/lib-loader.sh" "$INSTALL_DIR/"
5960
fi
6061

@@ -74,7 +75,7 @@ chmod 644 "$INSTALL_DIR/modules"/*.sh
7475
chmod 755 "$INSTALL_DIR/scripts"/*.sh
7576

7677
# Read version from version file
77-
VERSION=$(cat version)
78+
VERSION=$(cat "$INSTALL_DIR/version")
7879

7980
# Add to shell initialization
8081
echo "Adding to shell initialization..."

0 commit comments

Comments
 (0)