replace pterodactyl with pelican
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
Reference in New Issue
Block a user