From 78014cfa85f84a3df9184d3552426701bdec20e6 Mon Sep 17 00:00:00 2001 From: JanjyTapYT Date: Sat, 9 Sep 2023 15:25:43 +0200 Subject: [PATCH] =?UTF-8?q?[=E2=9C=85]=20automated=20core=20deletion=20rem?= =?UTF-8?q?oved=20(stable)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- genric/go/entrypoint.sh | 12 ------------ genric/java/entrypoint.sh | 12 ------------ genric/nodejs/entrypoint.sh | 12 ------------ genric/python/entrypoint.sh | 15 --------------- 4 files changed, 51 deletions(-) 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"