Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk
0389ffd3b2 alpine: remove deb/ubuntu-only resource & storage checks from update_script
check_container_storage uses 'df /boot --output=size' which is unsupported by
BusyBox df on Alpine and /boot is not a separate partition there. Both
helpers are designed for Debian/Ubuntu hosts only.

Affected: alpine-ntfy, alpine-rustypaste, alpine-ironclaw, alpine-redlib.

Fixes #14163
2026-05-01 22:45:08 +02:00
6 changed files with 5 additions and 10 deletions

View File

@@ -21,8 +21,6 @@ catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /usr/local/bin/ironclaw ]]; then
msg_error "No ${APP} Installation Found!"

View File

@@ -22,8 +22,6 @@ catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /etc/ntfy ]]; then
msg_error "No ${APP} Installation Found!"
exit

View File

@@ -21,7 +21,6 @@ catch_errors
function update_script() {
header_info
check_container_resources
if [[ ! -d /opt/redlib ]]; then
msg_error "No ${APP} Installation Found!"

View File

@@ -21,8 +21,6 @@ catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if ! apk info -e rustypaste >/dev/null 2>&1; then
msg_error "No ${APP} Installation Found!"

View File

@@ -29,12 +29,12 @@ function update_script() {
exit
fi
if check_for_gh_release "threadfin-app" "threadfin/threadfin"; then
if check_for_gh_release "threadfin" "threadfin/threadfin"; then
msg_info "Stopping Service"
systemctl stop threadfin
msg_ok "Stopped Service"
fetch_and_deploy_gh_release "threadfin-app" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
msg_info "Starting Service"
systemctl start threadfin

View File

@@ -20,7 +20,9 @@ $STD apt install -y \
vlc
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "threadfin-app" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
mv /root/.threadfin /root/.threadfin_version
mkdir -p /root/.threadfin
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/threadfin.service