Clean up comments in endurain.sh

Removed comments about legacy FRONTEND_DIR migration.
This commit is contained in:
CanbiZ (MickLesk)
2026-08-26 15:45:33 +02:00
committed by GitHub
parent f66c3d89ba
commit 0f1db0d631

View File

@@ -52,8 +52,6 @@ function update_script() {
restore_backup
# Existing installs may still have the pre-7e15a4b FRONTEND_DIR path restored
# from backup; migrate only that exact legacy value, never a custom path.
if grep -qxF 'FRONTEND_DIR="/opt/endurain/frontend/app/dist"' /opt/endurain/.env; then
sed -i 's|^FRONTEND_DIR="/opt/endurain/frontend/app/dist"$|FRONTEND_DIR="/opt/endurain/frontend/dist"|' /opt/endurain/.env
fi