Skip to content

Commit

Permalink
Merge pull request #245 from pelican-eggs/entrypoint_pelican
Browse files Browse the repository at this point in the history
replace pterodactyl with pelican
  • Loading branch information
parkervcp committed May 12, 2024
2 parents 10a8a50 + 518d3e3 commit a8e9472
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions cassandra/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ export INTERNAL_IP
cd /home/container || exit 1

# Print Java version
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mjava -version\n"
printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n"
java -version


# Print Python version
if command -v python &> /dev/null
then
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mpython --version\n"
printf "\033[1m\033[33mcontainer@pelican~ \033[0mpython --version\n"
python --version
else
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mpython3 --version\n"
printf "\033[1m\033[33mcontainer@pelican~ \033[0mpython3 --version\n"
python3 --version
fi

Expand All @@ -33,6 +33,6 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat

# Display the command we're running in the output, and then execute it with the env
# from the container itself.
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086
exec env ${PARSED}
2 changes: 1 addition & 1 deletion dotnet/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export INTERNAL_IP
export DOTNET_ROOT=/usr/share/

# print the dotnet version on startup
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mdotnet --version\n"
printf "\033[1m\033[33mcontainer@pelican~ \033[0mdotnet --version\n"
dotnet --version

# Replace Startup Variables
Expand Down
4 changes: 2 additions & 2 deletions erlang/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export INTERNAL_IP
cd /home/container || exit 1

# Print Erlang's version
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0merl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'\n"
printf "\033[1m\033[33mcontainer@pelican~ \033[0merl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'\n"
erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'

# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
Expand All @@ -20,6 +20,6 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat

# Display the command we're running in the output, and then execute it with the env
# from the container itself.
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086
exec env ${PARSED}
2 changes: 1 addition & 1 deletion games/minetest/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export INTERNAL_IP
cd /home/container || exit 1

# Print minetest version
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mminetest --version\n"
printf "\033[1m\033[33mcontainer@pelican~ \033[0mminetest --version\n"
minetest --version

# Replace Startup Variables
Expand Down
4 changes: 2 additions & 2 deletions go/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export INTERNAL_IP
cd /home/container || exit 1

# Print Go version
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mgo version\n"
printf "\033[1m\033[33mcontainer@pelican~ \033[0mgo version\n"
go version

# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
Expand All @@ -44,6 +44,6 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat

# Display the command we're running in the output, and then execute it with the env
# from the container itself.
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086
exec env ${PARSED}
4 changes: 2 additions & 2 deletions java/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export INTERNAL_IP
cd /home/container || exit 1

# Print Java version
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mjava -version\n"
printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n"
java -version

# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
Expand All @@ -44,6 +44,6 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat

# Display the command we're running in the output, and then execute it with the env
# from the container itself.
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086
eval ${PARSED}
2 changes: 1 addition & 1 deletion oses/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat

# Display the command we're running in the output, and then execute it with the env
# from the container itself.
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086
exec env ${PARSED}

2 changes: 1 addition & 1 deletion voice/teaspeak/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat

# Display the command we're running in the output, and then execute it with the env
# from the container itself.
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED"
printf "\033[1m\033[33mcontainer@pelican~ \033[0m%s\n" "$PARSED"
# shellcheck disable=SC2086
exec env ${PARSED}

0 comments on commit a8e9472

Please sign in to comment.