migration shouldnt fail if there is no site yet

This commit is contained in:
Mate Majoros 2026-01-08 14:53:24 +02:00
parent c39e86d319
commit 23e5b0ce27

View file

@ -10,9 +10,7 @@ SITES=$(docker compose exec -T backend ls -1 /home/frappe/frappe-bench/sites | g
if [ -z "$SITES" ]; then
echo "❌ No sites found!"
exit 1
fi
else
echo "📋 Found sites:"
echo "$SITES"
echo ""
@ -45,3 +43,4 @@ docker compose exec -T backend bench doctor || {
}
echo "✨ Migration process finished!"
fi