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
78d5a4bcd3
commit
d79ea8a6bf
@ -79,7 +79,7 @@ msg_ok "Installed Golang"
|
|||||||
msg_info "Building Authentik website"
|
msg_info "Building Authentik website"
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/goauthentik/authentik/releases/latest | grep "tarball_url" | awk '{print substr($2, 2, length($2)-3)}')
|
RELEASE=$(curl -s https://api.github.com/repos/goauthentik/authentik/releases/latest | grep "tarball_url" | awk '{print substr($2, 2, length($2)-3)}')
|
||||||
mkdir -p /opt/authentik
|
mkdir -p /opt/authentik
|
||||||
$STD wget -qO authentik.tar.gz "${RELEASE}"
|
wget -qO authentik.tar.gz "${RELEASE}"
|
||||||
tar -xzf authentik.tar.gz -C /opt/authentik --strip-components 1 --overwrite
|
tar -xzf authentik.tar.gz -C /opt/authentik --strip-components 1 --overwrite
|
||||||
rm -rf authentik.tar.gz
|
rm -rf authentik.tar.gz
|
||||||
cd /opt/authentik/website
|
cd /opt/authentik/website
|
||||||
|
Loading…
Reference in New Issue
Block a user