summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-09 17:07:15 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-09 17:07:15 -0300
commit446f029034cb770713dbda3ef7bfcc350363c196 (patch)
treee0f7dc9a5a185066dc9a8c69b11e8a72d22dd0f4 /install.sh
parenta7cdbdba6545dc94d5ef8bc206fc466cf29caa1b (diff)
Added more documentation step by step
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 655bf56..47b8b42 100755
--- a/install.sh
+++ b/install.sh
@@ -105,7 +105,7 @@ realpath $media_folder &>/dev/null || send_error_message "There was an error wit
media_folder=$(realpath $media_folder)
-read -p "Are you sure your media folder is $media_folder? [y/N]: " media_folder_correct
+read -p "Are you sure your media folder is $media_folder? Maye sure your user has permissions on this folder! [y/N]: " media_folder_correct
media_folder_correct=${media_folder_correct:-"n"}
if [ $media_folder_correct == "n" ]; then
@@ -159,7 +159,8 @@ fi
# Cleaning up...
# ============================================================================================
-cp yams /usr/local/bin/yams && chmod +x /usr/local/bin/yams
+echo "We need your sudo password to install the yams CLI"
+sudo cp yams /usr/local/bin/yams && sudo chmod +x /usr/local/bin/yams
printf "\033c"