mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
fix: processed some pr comments
This commit is contained in:
@@ -46,9 +46,6 @@ function update_script() {
|
||||
cp /opt/wger_env_backup /opt/wger/.env
|
||||
rm -rf /opt/wger_media_backup /opt/wger_env_backup
|
||||
|
||||
set -a
|
||||
source /opt/wger/.env
|
||||
set +a
|
||||
msg_ok "Restored Data"
|
||||
|
||||
msg_info "Updating wger"
|
||||
@@ -56,7 +53,7 @@ function update_script() {
|
||||
set -a && source /opt/wger/.env && set +a
|
||||
export DJANGO_SETTINGS_MODULE=settings.main
|
||||
$STD uv pip install .
|
||||
$STD uv pip install gunicorn celery django-redis psycopg2-binary
|
||||
$STD uv pip install gunicorn psycopg2-binary
|
||||
$STD uv run python manage.py migrate
|
||||
$STD uv run python manage.py collectstatic --no-input
|
||||
msg_ok "Updated wger"
|
||||
|
||||
Reference in New Issue
Block a user