Exporting an egg in yaml format escapes the install script to far #546

Open
opened 2026-02-05 17:45:02 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @QuintenQVD0 on GitHub (Jan 10, 2026).

Current Behavior

When exporting an egg that in its install script used \n in quotes with using echo they become on the next line

Expected Behavior

The yaml export should make the install script multiline but not unescape the inner fields

Steps to Reproduce

  1. Make an egg with this in the install script
## just in case someone removed the defaults.
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
    echo -e "steam user is not set.\n"
    echo -e "Using anonymous user.\n"
    STEAM_USER=anonymous
    STEAM_PASS=""
    STEAM_AUTH=""
else
    echo -e "user set to ${STEAM_USER}"
fi

export it as yaml and see

      if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
          echo -e "steam user is not set.
      "
          echo -e "Using anonymous user.
      "
          STEAM_USER=anonymous
          STEAM_PASS=""
          STEAM_AUTH=""
      else
          echo -e "user set to ${STEAM_USER}"
      fi

Panel Version

6b9d683

Wings Version

dev

Games and/or Eggs Affected

/

Docker Image

/

Error Logs

No error logs needed

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Originally created by @QuintenQVD0 on GitHub (Jan 10, 2026). ### Current Behavior When exporting an egg that in its install script used \n in quotes with using echo they become on the next line ### Expected Behavior The yaml export should make the install script multiline but not unescape the inner fields ### Steps to Reproduce 1. Make an egg with this in the install script ```bash ## just in case someone removed the defaults. if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then echo -e "steam user is not set.\n" echo -e "Using anonymous user.\n" STEAM_USER=anonymous STEAM_PASS="" STEAM_AUTH="" else echo -e "user set to ${STEAM_USER}" fi ``` export it as yaml and see ```yaml if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then echo -e "steam user is not set. " echo -e "Using anonymous user. " STEAM_USER=anonymous STEAM_PASS="" STEAM_AUTH="" else echo -e "user set to ${STEAM_USER}" fi ``` ### Panel Version 6b9d683 ### Wings Version dev ### Games and/or Eggs Affected / ### Docker Image / ### Error Logs ```bash No error logs needed ``` ### Is there an existing issue for this? - [x] I have searched the existing issues before opening this issue. - [x] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#546