Added -p on mkdir /opt/pivpn this fixes issue #607
This commit is contained in:
4s3ti 2020-01-08 13:13:34 +01:00
parent 86f60b9504
commit 2ea469359c

View file

@ -400,7 +400,7 @@ installScripts() {
$SUDO echo ":::"
$SUDO echo -n "::: Installing scripts to /opt/pivpn..."
if [ ! -d /opt/pivpn ]; then
$SUDO mkdir /opt/pivpn
$SUDO mkdir -p /opt/pivpn
$SUDO chown "$INSTALL_USER":root /opt/pivpn
$SUDO chmod 0755 /opt/pivpn
fi