mirror of
https://github.com/GNS3/gns3-server
synced 2025-02-03 11:51:31 +00:00
Update web-ui bundled script to use master-3.0
This commit is contained in:
parent
725942157e
commit
5824f0797a
@ -67,12 +67,13 @@ echo "Re-create: $GNS3SERVER_DIR/gns3server/static/web-ui"
|
||||
mkdir -p "$GNS3SERVER_DIR/gns3server/static/web-ui/"
|
||||
|
||||
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"
|
||||
else
|
||||
fi
|
||||
|
||||
cd "$REPO_DIR"
|
||||
|
||||
git checkout master
|
||||
git checkout master-3.0
|
||||
git fetch --tags
|
||||
git pull
|
||||
|
||||
@ -83,7 +84,6 @@ if [ "$CUSTOM_REPO" = false ] ; then
|
||||
fi
|
||||
|
||||
cd "$CURRENT_DIR"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Current working dir $REPO_DIR"
|
||||
|
Loading…
Reference in New Issue
Block a user