1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Merge pull request #2308 from Xatrekak/master

Update remote-install.sh
This commit is contained in:
Jeremy Grossmann 2023-10-31 09:19:55 +10:00 committed by GitHub
commit 0e18762b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,9 +163,9 @@ log "Install GNS3 packages"
apt-get install -y gns3-server
log "Create user GNS3 with /opt/gns3 as home directory"
if [ ! -d "/opt/gns3/" ]
if [ ! -d "/opt/gns3" ]
then
useradd -m -d /opt/gns3/ gns3
useradd -m -d /opt/gns3 gns3
fi
@ -462,4 +462,4 @@ NEEDRESTART_MODE=a apt-get upgrade
python3 -c 'import sys; sys.path.append("/usr/local/bin/"); import welcome; ws = welcome.Welcome_dialog(); ws.repair_remote_install()'
cd /opt/gns3
su gns3
fi
fi