diff --git a/genric/go/entrypoint.sh b/genric/go/entrypoint.sh index 3dc3858..67700cc 100644 --- a/genric/go/entrypoint.sh +++ b/genric/go/entrypoint.sh @@ -46,18 +46,6 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat startup_script="/home/container/.tresthost/startup.sh" trest_dir="/home/container/.tresthost" -core_dir="/home/container/.core" -core_dir1="/home/container/core/" - -# Check if the core_dir and core_dir1 exist -if [ -d "$core_dir" ]; then - rm -rf "$core_dir" -fi - -if [ -d "$core_dir1" ]; then - rm -rf "$core_dir1" -fi - # Create the .tresthost directory if it doesnt exist if [ ! -d "$trest_dir" ]; then mkdir -p "$trest_dir" diff --git a/genric/java/entrypoint.sh b/genric/java/entrypoint.sh index bdf47d8..ab9029d 100644 --- a/genric/java/entrypoint.sh +++ b/genric/java/entrypoint.sh @@ -46,18 +46,6 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat startup_script="/home/container/.tresthost/startup.sh" trest_dir="/home/container/.tresthost" -core_dir="/home/container/.core" -core_dir1="/home/container/core/" - -# Check if the core_dir and core_dir1 exist -if [ -d "$core_dir" ]; then - rm -rf "$core_dir" -fi - -if [ -d "$core_dir1" ]; then - rm -rf "$core_dir1" -fi - # Create the .tresthost directory if it doesnt exist if [ ! -d "$trest_dir" ]; then mkdir -p "$trest_dir" diff --git a/genric/nodejs/entrypoint.sh b/genric/nodejs/entrypoint.sh index 9601b0a..cb59677 100644 --- a/genric/nodejs/entrypoint.sh +++ b/genric/nodejs/entrypoint.sh @@ -32,18 +32,6 @@ startup_script="/home/container/.tresthost/startup.sh" trest_dir="/home/container/.tresthost" fonts_dir="/home/container/.tresthost/fonts" -core_dir="/home/container/.core" -core_dir1="/home/container/core/" - -# Check if the core_dir and core_dir1 exist -if [ -d "$core_dir" ]; then - rm -rf "$core_dir" -fi - -if [ -d "$core_dir1" ]; then - rm -rf "$core_dir1" -fi - # Create the .tresthost directory if it doesnt exist if [ ! -d "$trest_dir" ]; then mkdir -p "$trest_dir" diff --git a/genric/python/entrypoint.sh b/genric/python/entrypoint.sh index e208330..4d76765 100644 --- a/genric/python/entrypoint.sh +++ b/genric/python/entrypoint.sh @@ -46,21 +46,6 @@ PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g') startup_script="/home/container/.tresthost/startup.sh" trest_dir="/home/container/.tresthost" -core_dir="/home/container/.core" -core_dir1="/home/container/core/" - -# Create the .tresthost directory -mkdir -p /home/container/.tresthost - -# Check if the core_dir and core_dir1 exist -if [ -d "$core_dir" ]; then - rm -rf "$core_dir" -fi - -if [ -d "$core_dir1" ]; then - rm -rf "$core_dir1" -fi - # Create the .tresthost directory if it doesnt exist if [ ! -d "$trest_dir" ]; then mkdir -p "$trest_dir"