Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove unneeded ensure_scripts_are_executable, update #2634

  • Loading branch information...
commit f100683dc78952b6312cf6e9e734ff5168465580 1 parent 7bc80f5
@mpapis mpapis authored
Showing with 0 additions and 17 deletions.
  1. +0 −17 scripts/functions/installer
View
17 scripts/functions/installer
@@ -80,7 +80,6 @@ install_rvm()
install_gemsets
install_patchsets
install_man_pages
- ensure_scripts_are_executable
setup_configuration_files
)
# not using elif for clarity
@@ -688,22 +687,6 @@ install_man_pages()
done
}
-ensure_scripts_are_executable()
-{
- typeset __file
- typeset -a __failed_files
- __failed_files=()
- for __file in "$rvm_scripts_path"/*
- do
- if [[ -s "${__file}" && ! -x "${__file}" ]]
- then chmod a+rx "${__file}" || __failed_files+=( "${__file}" )
- fi
- done
- if (( ${#__failed_files[@]} > 0 ))
- then permissions_warning "Failed to set permissions of: ${__failed_files[*]}"
- fi
-}
-
setup_configuration_files()
{
typeset _save_dir
Please sign in to comment.
Something went wrong with that request. Please try again.