Skip to content

Commit

Permalink
Fix the startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
K4rian committed Mar 8, 2024
1 parent e837e34 commit 79788fa
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions container_files/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,26 @@ if [ ! "x$s_password" = "x" ]; then
add_optional_arg "--password" "\"${s_password}\""
fi

if [ ! "x$YUZU_ISPUBLIC" = "x" ] \
&& [ $YUZU_ISPUBLIC = 1 ]; then
if [ ! "x$YUZU_TOKEN" = "x" ]; then
add_optional_arg "--token" "\"$YUZU_TOKEN\""
fi
# if [ ! "x$YUZU_ISPUBLIC" = "x" ] \
# && [ $YUZU_ISPUBLIC = 1 ]; then
# if [ ! "x$YUZU_TOKEN" = "x" ]; then
# add_optional_arg "--token" "\"$YUZU_TOKEN\""
# fi

if [ ! "x$YUZU_WEBAPIURL" = "x" ]; then
add_optional_arg "--web-api-url" "\"$YUZU_WEBAPIURL\""
fi
# if [ ! "x$YUZU_WEBAPIURL" = "x" ]; then
# add_optional_arg "--web-api-url" "\"$YUZU_WEBAPIURL\""
# fi

if [ ! "x$YUZU_ENABLEMODS" = "x" ] \
&& [ $YUZU_ENABLEMODS = 1 ]; then
add_optional_arg "--enable-yuzu-mods"
fi
fi
# if [ ! "x$YUZU_ENABLEMODS" = "x" ] \
# && [ $YUZU_ENABLEMODS = 1 ]; then
# add_optional_arg "--enable-yuzu-mods"
# fi
# fi

echo ""
echo "░█░█░█░█░▀▀█░█░█░░░█▀▄░█▀▀░█▀▄░▀█▀░█▀▀░█▀█░▀█▀░█▀▀░█▀▄░░░█▀▄░█▀█░█▀█░█▄█"
echo "░░█░░█░█░▄▀░░█░█░░░█░█░█▀▀░█░█░░█░░█░░░█▀█░░█░░█▀▀░█░█░░░█▀▄░█░█░█░█░█░█"
echo "░░▀░░▀▀▀░▀▀▀░▀▀▀░░░▀▀░░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀░▀░░▀░░▀▀▀░▀▀░░░░▀░▀░▀▀▀░▀▀▀░▀░▀"
echo ""

eval "$s_command"
eval "$s_command"

0 comments on commit 79788fa

Please sign in to comment.