summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 5 insertions, 0 deletions
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/<your_PGID>/$pgid/g" $filename
# Set media_folder
sed -i -e "s;<media_folder>;$media_folder;g" $filename
+# Set config folder
+sed -i -e "s;<install_location>;$install_location;g" $filename
+
# Set yams script
sed -i -e "s;<filename>;$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"