From 41848653d6e7ba3f2e9758de359fee128c3c3467 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 8 Apr 2026 23:22:34 +0200 Subject: [PATCH] bambuddy: add mkdir before data restore & add ffmpeg dependency (#13601) --- ct/bambuddy.sh | 3 +++ install/bambuddy-install.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ct/bambuddy.sh b/ct/bambuddy.sh index e93d53da4..097d1ebaf 100644 --- a/ct/bambuddy.sh +++ b/ct/bambuddy.sh @@ -29,6 +29,8 @@ function update_script() { exit fi + ensure_dependencies ffmpeg + if check_for_gh_release "bambuddy" "maziggy/bambuddy"; then msg_info "Stopping Service" systemctl stop bambuddy @@ -54,6 +56,7 @@ function update_script() { msg_ok "Rebuilt Frontend" msg_info "Restoring Configuration and Data" + mkdir -p /opt/bambuddy/data cp /opt/bambuddy.env.bak /opt/bambuddy/.env cp -r /opt/bambuddy_data_bak/. /opt/bambuddy/data/ rm -f /opt/bambuddy.env.bak diff --git a/install/bambuddy-install.sh b/install/bambuddy-install.sh index b3df17033..f782334f3 100644 --- a/install/bambuddy-install.sh +++ b/install/bambuddy-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt install -y libglib2.0-0 +$STD apt install -y libglib2.0-0 ffmpeg msg_ok "Installed Dependencies" PYTHON_VERSION="3.13" setup_uv