Skip to content

Commit

Permalink
Merge pull request #2308 from Xatrekak/master
Browse files Browse the repository at this point in the history
Update remote-install.sh
  • Loading branch information
grossmj authored Oct 30, 2023
2 parents 5a6e945 + cbc7e59 commit 0e18762
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/remote-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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

0 comments on commit 0e18762

Please sign in to comment.