summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-09 18:59:33 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-09 18:59:33 -0300
commit94e90c83fd268f5b50fa2b9ad4825021ecff7f48 (patch)
treefaf02feda27efd9c4781d7fa6ea77cfd2e78a9d7 /install.sh
parent41a0ddf172df7e5b2875ffb1ef8fa338f10c2469 (diff)
Added config for dockers
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"