Skip to content

Commit

Permalink
[✅] automated core deletion removed (stable)
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-blazer committed Sep 9, 2023
1 parent 637ab87 commit 78014cf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 51 deletions.
12 changes: 0 additions & 12 deletions genric/go/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 0 additions & 12 deletions genric/java/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 0 additions & 12 deletions genric/nodejs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
15 changes: 0 additions & 15 deletions genric/python/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 78014cf

Please sign in to comment.