From 94e90c83fd268f5b50fa2b9ad4825021ecff7f48 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Mon, 9 Jan 2023 18:59:33 -0300 Subject: Added config for dockers --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index c8b5f57..0d85218 100755 --- a/install.sh +++ b/install.sh @@ -134,9 +134,13 @@ sed -i -e "s//$pgid/g" $filename # Set media_folder sed -i -e "s;;$media_folder;g" $filename +# Set config folder +sed -i -e "s;;$install_location;g" $filename + # Set yams script sed -i -e "s;;$filename;g" yams + send_success_message "Everything installed correctly! 🎉" read -p "Do you want to run the script now? [Y/n]: " run_now run_now=${run_now:-"y"} @@ -162,6 +166,7 @@ fi send_success_message "We need your sudo password to install the yams CLI and correct permissions..." sudo cp yams /usr/local/bin/yams && sudo chmod +x /usr/local/bin/yams sudo chown -R $puid:$pgid $media_folder +sudo chown -R $puid:$pgid $install_location/config printf "\033c" -- cgit v1.2.3