Skip to content

Commit

Permalink
unbound var fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thost96 authored Feb 5, 2025
1 parent ec846e4 commit 3618e07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ct/authelia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ function update_script() {
msg_info "Updating $APP to ${RELEASE}"
$STD apt-get update &>/dev/null
$STD apt-get -y upgrade &>/dev/null
wget -q https://github.com/authelia/authelia/releases/download/$RELEASE/authelia_$RELEASE_amd64.deb
$STD dpkg -i 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"
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 autoclean
msg_ok "Cleanup Completed"
Expand Down
6 changes: 3 additions & 3 deletions install/authelia-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ msg_ok "Installed Dependencies"

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) }')
wget -q https://github.com/authelia/authelia/releases/download/$RELEASE/authelia_$RELEASE_amd64.deb
$STD dpkg -i 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 systemctl enable authelia
msg_ok "Install Authelia completed"

Expand Down Expand Up @@ -87,7 +87,7 @@ customize

# Cleanup
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 autoclean
msg_ok "Cleaned"

0 comments on commit 3618e07

Please sign in to comment.