This commit is contained in:
Slaviša Arežina
2025-12-25 15:21:00 +01:00
committed by GitHub
parent fa8c8ef85c
commit e926182748
2 changed files with 10 additions and 14 deletions

View File

@@ -27,10 +27,10 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_info "Updating $APP" msg_info "Updating Notifiarr"
$STD apt update $STD apt update
$STD apt -y upgrade $STD apt upgrade -y
msg_ok "Updated $APP" msg_ok "Updated Notifiarr"
msg_ok "Updated successfully!" msg_ok "Updated successfully!"
exit exit
} }

View File

@@ -13,20 +13,16 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Installing Notifiarr" msg_info "Setting up Notifiarr"
$STD groupadd notifiarr $STD groupadd notifiarr
$STD useradd -g notifiarr notifiarr $STD useradd -g notifiarr notifiarr
curl -fsSL "https://packagecloud.io/golift/pkgs/gpgkey" | gpg --dearmor >/usr/share/keyrings/golift-archive-keyring.gpg setup_deb822_repo \
cat <<EOF >/etc/apt/sources.list.d/golift.sources "notifiarr" \
Types: deb "https://packagecloud.io/golift/pkgs/gpgkey" \
URIs: https://packagecloud.io/golift/pkgs/ubuntu "https://packagecloud.io/golift/pkgs/ubuntu" \
Suites: focal "focal"
Components: main
Signed-By: /usr/share/keyrings/golift-archive-keyring.gpg
EOF
$STD apt update
$STD apt install -y notifiarr $STD apt install -y notifiarr
msg_ok "Installed Notifiarr" msg_ok "Setup Notifiarr"
motd_ssh motd_ssh
customize customize