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

Update remote-install.sh

Removed an extra slash at the end when setting the user home directory. This was causing unexpected behavior for other scrips as ~ was aliased to /opt/gns3/ instead of the expected  /opt/gns3.

This caused an extra / to appear in commands unexpectedly.
This commit is contained in:
Dustin 2023-10-30 11:00:45 -04:00 committed by GitHub
parent 5a6e945db2
commit cbc7e59d3f
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 apt-get install -y gns3-server
log "Create user GNS3 with /opt/gns3 as home directory" log "Create user GNS3 with /opt/gns3 as home directory"
if [ ! -d "/opt/gns3/" ] if [ ! -d "/opt/gns3" ]
then then
useradd -m -d /opt/gns3/ gns3 useradd -m -d /opt/gns3 gns3
fi fi