1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-02-03 20:01:20 +00:00

Update web-ui bundled script to use master-3.0

This commit is contained in:
grossmj 2022-07-23 12:18:50 +02:00
parent 725942157e
commit 5824f0797a

View File

@ -67,12 +67,13 @@ echo "Re-create: $GNS3SERVER_DIR/gns3server/static/web-ui"
mkdir -p "$GNS3SERVER_DIR/gns3server/static/web-ui/" mkdir -p "$GNS3SERVER_DIR/gns3server/static/web-ui/"
if [ "$CUSTOM_REPO" = false ] ; then if [ "$CUSTOM_REPO" = false ] ; then
if [ ! -d /tmp/gns3-web-ui ]; then if [ ! -d "$REPO_DIR" ]; then
git clone https://github.com/GNS3/gns3-web-ui.git "$REPO_DIR" git clone https://github.com/GNS3/gns3-web-ui.git "$REPO_DIR"
else fi
cd "$REPO_DIR" cd "$REPO_DIR"
git checkout master git checkout master-3.0
git fetch --tags git fetch --tags
git pull git pull
@ -84,7 +85,6 @@ if [ "$CUSTOM_REPO" = false ] ; then
cd "$CURRENT_DIR" cd "$CURRENT_DIR"
fi fi
fi
echo "Current working dir $REPO_DIR" echo "Current working dir $REPO_DIR"