mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-07 16:29:18 +00:00
Update install/authentik-install.sh
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
This commit is contained in:
parent
d79ea8a6bf
commit
793e28202f
@ -101,7 +101,7 @@ msg_ok "Built Go Proxy"
|
|||||||
msg_info "Installing GeoIP"
|
msg_info "Installing GeoIP"
|
||||||
cd ~
|
cd ~
|
||||||
GEOIP_RELEASE=$(curl -s https://api.github.com/repos/maxmind/geoipupdate/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
GEOIP_RELEASE=$(curl -s https://api.github.com/repos/maxmind/geoipupdate/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
$STD wget -qO geoipupdate.deb https://github.com/maxmind/geoipupdate/releases/download/v${GEOIP_RELEASE}/geoipupdate_${GEOIP_RELEASE}_linux_amd64.deb
|
wget -qO geoipupdate.deb https://github.com/maxmind/geoipupdate/releases/download/v${GEOIP_RELEASE}/geoipupdate_${GEOIP_RELEASE}_linux_amd64.deb
|
||||||
$STD dpkg -i geoipupdate.deb
|
$STD dpkg -i geoipupdate.deb
|
||||||
rm geoipupdate.deb
|
rm geoipupdate.deb
|
||||||
cat <<EOF >/etc/GeoIP.conf
|
cat <<EOF >/etc/GeoIP.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user