unbound var fix

This commit is contained in:
Thorsten 2025-02-05 15:41:00 +01:00 committed by GitHub
parent ec846e4f46
commit 3618e073d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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"