[FIXED] La instalación requiere de un daemon-reload

This commit is contained in:
Mauro Rosero P. 2024-12-08 23:55:52 -05:00
parent 7062e1b2fb
commit a88555da13
Signed by: mrosero
GPG key ID: 83BD2A5F674B7E26

View file

@ -48,7 +48,12 @@ function install_pritunl() {
gpg --armor --export $PRITUNL_SIGN | tee /etc/apt/trusted.gpg.d/pritunl.asc
apt update
apt install pritunl-client-electron -y
return $?
local rc=$?
if [ rc -eq 0 ]; then
systemctl daemon-reload
rc=$?
fi
return $rc
fi
fi