Fix script

This commit is contained in:
soraefir
2026-05-14 14:34:39 +02:00
parent 31a972d55b
commit c174fe20ae

View File

@@ -108,6 +108,11 @@ in {
--arg pass "$DEFAULT_ADMIN_PASSWORD" \
'{"Name": $name, "Password": $pass}')
if ! ${pkgs.curl}/bin/curl -sSf -X GET "$JELLYFIN_URL/Startup/User"; then
echo "ERROR: Failed to get base user."
exit 1
fi
if ! ${pkgs.curl}/bin/curl -sSf -X POST "$JELLYFIN_URL/Startup/User" \
-H 'accept: */*' \
-H "Content-Type: application/json" \