diff --git a/script/discover_package_manager b/script/discover_package_manager index f8a9ebfd39b58867a4ebfe4a768bcb4365e0ae7c..f0002597ccf14fc91076a1a4ef50604e23d9b814 100755 --- a/script/discover_package_manager +++ b/script/discover_package_manager @@ -15,16 +15,6 @@ if [ x"$1" == x"osx" ]; then discover_package_ret="sudo brew" echo 'Package Manager: '"$discover_package_manager_ret" return - else - if [ ! -w $brew_idir ]; then - echo -e "\033[43;30;1;5mWARNING: \033[0m $brew_idir is not writtable, brew require that $brew_idir is writtable and $brew_idir/bin is in your PATH, otherwise it will be not possible to install with brew" - commands[0]="sudo chown -R $USER $brew_idir && chmod -R u+w $brew_idir" - possible_solutions "${commands[@]}" - fi - fi - if [ ! -w ]; then - echo -e "\033[43,33;5mWARNING: \033[0m $brew_idir is not writtable, brew require that $brew_idir is writtable and $brew_idir/bin is in your PATH, otherwise it will be not possible to install with brew" - sleep 10 fi echo echo 'Package Manager: '"$discover_package_manager_ret" return