diff options
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" |