From 446f029034cb770713dbda3ef7bfcc350363c196 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Mon, 9 Jan 2023 17:07:15 -0300 Subject: Added more documentation step by step --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install.sh') 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" -- cgit v1.2.3