From 0db02ebd64aa4dad89097c87202517fb7551eb38 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Fri, 6 Jan 2023 21:46:10 -0300 Subject: Made the script compatible with MacOS --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 39e5651..d7af2e1 100755 --- a/install.sh +++ b/install.sh @@ -69,19 +69,20 @@ echo "Copying $filename..." cp docker-compose.example.yaml $filename || (echo "You need to have permissions on the folder! (Maybe you forgot to run with sudo?)"; false) # Set PUID -sed -i -e "s//$puid/g" $filename +sed -i '' -e "s//$puid/g" $filename # Set PGID -sed -i -e "s//$pgid/g" $filename +sed -i '' -e "s//$pgid/g" $filename # Set entertainment_folder -sed -i -e "s;;$ENTERTAINMENT_FOLDER;g" $filename +sed -i '' -e "s;;$ENTERTAINMENT_FOLDER;g" $filename read -p "Do you want to run the script now? [Y/n]: " run_now run_now=${run_now:-"y"} if [ $run_now == "y" ]; then echo "Running the server..." + echo "This is going to take a while..." docker-compose -f $filename up -d else echo "Perfect! You can run the server later using the following command:" -- cgit v1.2.3