-
-
Notifications
You must be signed in to change notification settings - Fork 187
Closed
Description
At the beginning of the start.sh
script, the if statements check for if the logs, downloads, and backups folders exist. If they don't exist, it creates them. I noticed that the script decides to save the folders in the home directory (one folder above the minecraftbe
folder). Maybe add something like the following:
path="/home/$USER/minecraftbe" #<-- this is new
if [ ! -d "logs" ]; then
mkdir $path/logs #<-- add the $path variable so it makes it in the right directory
fi
#Then do the same thing for each of the other folders
You could also do this before checking for if the directories exist:
cd /home/$USER/minecraftbe
if [ ! -d "logs" ]; then
mkdir logs
fi
#This method is so much simpler (make sure to cd back to home afterwards though
cd ~
Metadata
Metadata
Assignees
Labels
No labels