mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-12 10:49:16 +00:00
unbound var fix
This commit is contained in:
parent
ec846e4f46
commit
3618e073d2
@ -36,10 +36,10 @@ function update_script() {
|
|||||||
msg_info "Updating $APP to ${RELEASE}"
|
msg_info "Updating $APP to ${RELEASE}"
|
||||||
$STD apt-get update &>/dev/null
|
$STD apt-get update &>/dev/null
|
||||||
$STD apt-get -y upgrade &>/dev/null
|
$STD apt-get -y upgrade &>/dev/null
|
||||||
wget -q https://github.com/authelia/authelia/releases/download/$RELEASE/authelia_$RELEASE_amd64.deb
|
wget -q "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_amd64.deb"
|
||||||
$STD dpkg -i authelia_$RELEASE_amd64.deb
|
$STD dpkg -i "authelia_${RELEASE}_amd64.deb"
|
||||||
msg_info "Cleaning Up"
|
msg_info "Cleaning Up"
|
||||||
rm -f authelia_$RELEASE_amd64.deb
|
rm -f "authelia_${RELEASE}_amd64.deb"
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleanup Completed"
|
msg_ok "Cleanup Completed"
|
||||||
|
@ -25,8 +25,8 @@ msg_ok "Installed Dependencies"
|
|||||||
|
|
||||||
msg_info "Installing Authelia"
|
msg_info "Installing Authelia"
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/authelia/authelia/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
RELEASE=$(curl -s https://api.github.com/repos/authelia/authelia/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
wget -q https://github.com/authelia/authelia/releases/download/$RELEASE/authelia_$RELEASE_amd64.deb
|
wget -q "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_amd64.deb"
|
||||||
$STD dpkg -i authelia_$RELEASE_amd64.deb
|
$STD dpkg -i "authelia_${RELEASE}_amd64.deb"
|
||||||
$STD systemctl enable authelia
|
$STD systemctl enable authelia
|
||||||
msg_ok "Install Authelia completed"
|
msg_ok "Install Authelia completed"
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ customize
|
|||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -f authelia_$RELEASE_amd64.deb
|
rm -f "authelia_${RELEASE}_amd64.deb"
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
Loading…
Reference in New Issue
Block a user