mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-13 12:15:03 +00:00
bambuddy: add mkdir before data restore & add ffmpeg dependency (#13601)
This commit is contained in:
committed by
GitHub
parent
1eb246ee41
commit
41848653d6
@@ -29,6 +29,8 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ensure_dependencies ffmpeg
|
||||||
|
|
||||||
if check_for_gh_release "bambuddy" "maziggy/bambuddy"; then
|
if check_for_gh_release "bambuddy" "maziggy/bambuddy"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop bambuddy
|
systemctl stop bambuddy
|
||||||
@@ -54,6 +56,7 @@ function update_script() {
|
|||||||
msg_ok "Rebuilt Frontend"
|
msg_ok "Rebuilt Frontend"
|
||||||
|
|
||||||
msg_info "Restoring Configuration and Data"
|
msg_info "Restoring Configuration and Data"
|
||||||
|
mkdir -p /opt/bambuddy/data
|
||||||
cp /opt/bambuddy.env.bak /opt/bambuddy/.env
|
cp /opt/bambuddy.env.bak /opt/bambuddy/.env
|
||||||
cp -r /opt/bambuddy_data_bak/. /opt/bambuddy/data/
|
cp -r /opt/bambuddy_data_bak/. /opt/bambuddy/data/
|
||||||
rm -f /opt/bambuddy.env.bak
|
rm -f /opt/bambuddy.env.bak
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt install -y libglib2.0-0
|
$STD apt install -y libglib2.0-0 ffmpeg
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
PYTHON_VERSION="3.13" setup_uv
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
|
|||||||
Reference in New Issue
Block a user