Refactor: ArchiveBox (#6670)

This commit is contained in:
CanbiZ 2025-08-08 21:20:24 +02:00 committed by GitHub
parent 6f24de7d63
commit ed936528d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 70 additions and 47 deletions

View file

@ -16,17 +16,16 @@ update_os
msg_info "Setup Python3"
$STD apt-get install -y \
python3 \
python3-dev \
python3-pip
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
python3-dev
msg_ok "Setup Python3"
PYTHON_VERSION="3.13" setup_uv
fetch_and_deploy_gh_release "bazarr" "morpheus65535/bazarr" "prebuild" "latest" "/opt/bazarr" "bazarr.zip"
msg_info "Installing Bazarr"
mkdir -p /var/lib/bazarr/
curl -fsSL "https://github.com/morpheus65535/bazarr/releases/latest/download/bazarr.zip" -o "bazarr.zip"
$STD unzip bazarr -d /opt/bazarr
chmod 775 /opt/bazarr /var/lib/bazarr/
$STD python3 -m pip install -q -r /opt/bazarr/requirements.txt
$STD uv pip install -r /opt/bazarr/requirements.txt --system
msg_ok "Installed Bazarr"
msg_info "Creating Service"
@ -56,7 +55,6 @@ motd_ssh
customize
msg_info "Cleaning up"
rm -rf bazarr.zip
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"