Update mediamanager-install.sh

This commit is contained in:
CanbiZ 2025-08-27 16:02:20 +02:00
parent c97be769aa
commit 73d2bab42a

View File

@ -11,18 +11,14 @@ verb_ip6
catch_errors
setting_up_container
network_check
update_os
read -r -p "${TAB3}Enter the email address of your first admin user: " admin_email
if [[ "$admin_email" ]]; then
EMAIL="$admin_email"
fi
update_os
msg_info "Installing dependencies"
$STD apt-get install -y yq
msg_ok "Installed dependencies"
setup_yq
NODE_VERSION="24" setup_nodejs
setup_uv
PG_VERSION="17" setup_postgresql
@ -43,6 +39,7 @@ $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8'
msg_ok "Set up PostgreSQL"
fetch_and_deploy_gh_release "MediaManager" "maxdorninger/MediaManager" "tarball" "latest" "/opt/mediamanager"
msg_info "Configuring MediaManager"
MM_DIR="/opt/mm"
MEDIA_DIR="${MM_DIR}/media"