summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 47b8b42..c8b5f57 100755
--- a/install.sh
+++ b/install.sh
@@ -159,8 +159,9 @@ fi
# Cleaning up...
# ============================================================================================
-echo "We need your sudo password to install the yams CLI"
+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
printf "\033c"