Skip to content

Commit 0e18762

Browse files
authored
Merge pull request #2308 from Xatrekak/master
Update remote-install.sh
2 parents 5a6e945 + cbc7e59 commit 0e18762

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/remote-install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ log "Install GNS3 packages"
163163
apt-get install -y gns3-server
164164

165165
log "Create user GNS3 with /opt/gns3 as home directory"
166-
if [ ! -d "/opt/gns3/" ]
166+
if [ ! -d "/opt/gns3" ]
167167
then
168-
useradd -m -d /opt/gns3/ gns3
168+
useradd -m -d /opt/gns3 gns3
169169
fi
170170

171171

@@ -462,4 +462,4 @@ NEEDRESTART_MODE=a apt-get upgrade
462462
python3 -c 'import sys; sys.path.append("/usr/local/bin/"); import welcome; ws = welcome.Welcome_dialog(); ws.repair_remote_install()'
463463
cd /opt/gns3
464464
su gns3
465-
fi
465+
fi

0 commit comments

Comments
 (0)