Refactor: Remove redundant dependencies & unify unzip usage (#4780)

* refactor unzip / remove dep

* remove deps from alpine packages

* remove gnupg

* remove gnupg
This commit is contained in:
CanbiZ
2025-05-28 11:25:13 +02:00
committed by GitHub
parent dcfe80e069
commit c356f77efe
121 changed files with 279 additions and 371 deletions

View File

@@ -19,20 +19,20 @@ color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/Petio ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP"
systemctl stop petio.service
curl -fsSL https://petio.tv/releases/latest -o petio-latest.zip
unzip petio-latest.zip -d /opt/Petio
systemctl start petio.service
msg_ok "Updated $APP"
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/Petio ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP"
systemctl stop petio.service
curl -fsSL https://petio.tv/releases/latest -o petio-latest.zip
$STD unzip petio-latest.zip -d /opt/Petio
systemctl start petio.service
msg_ok "Updated $APP"
exit
}
start