Correct package name
This commit is contained in:
parent
b31e167dc1
commit
e0de7cef11
@ -21,7 +21,7 @@ for vhost in ${domains[@]}; do # for each vhost
|
|||||||
[ ! -d "$certdir[$index]" ] && # if there is no certificate for the domain
|
[ ! -d "$certdir[$index]" ] && # if there is no certificate for the domain
|
||||||
if systemctl is-active --quiet nginx
|
if systemctl is-active --quiet nginx
|
||||||
then
|
then
|
||||||
pacman -S --noconfirm python3-certbot-nginx
|
pacman -S --noconfirm certbot-nginx
|
||||||
certbot -d "$vhost" certonly --nginx --register-unsafely-without-email --agree-tos # request cert with nginx
|
certbot -d "$vhost" certonly --nginx --register-unsafely-without-email --agree-tos # request cert with nginx
|
||||||
else
|
else
|
||||||
pacman -S --noconfirm certbot
|
pacman -S --noconfirm certbot
|
||||||
|
Loading…
Reference in New Issue
Block a user