[FIXED] La instalación requiere de un daemon-reload
This commit is contained in:
parent
7062e1b2fb
commit
a88555da13
1 changed files with 6 additions and 1 deletions
|
@ -48,7 +48,12 @@ function install_pritunl() {
|
||||||
gpg --armor --export $PRITUNL_SIGN | tee /etc/apt/trusted.gpg.d/pritunl.asc
|
gpg --armor --export $PRITUNL_SIGN | tee /etc/apt/trusted.gpg.d/pritunl.asc
|
||||||
apt update
|
apt update
|
||||||
apt install pritunl-client-electron -y
|
apt install pritunl-client-electron -y
|
||||||
return $?
|
local rc=$?
|
||||||
|
if [ rc -eq 0 ]; then
|
||||||
|
systemctl daemon-reload
|
||||||
|
rc=$?
|
||||||
|
fi
|
||||||
|
return $rc
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue