Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Copy files in to the correct man path

  • Loading branch information...
commit 21f4d632ebe2559f42fa91f368a295e0346924ea 1 parent dd74190
@Sutto Sutto authored
Showing with 5 additions and 1 deletion.
  1. +1 −1  scripts/initialize
  2. +4 −0 scripts/install
View
2  scripts/initialize
@@ -13,7 +13,7 @@ rvm_project_rvmrc_default="${rvm_project_rvmrc_default:-0}"
if [[ "root" = "$(whoami)" ]] ; then
rvm_bin_path="${rvm_bin_path:-"/usr/local/bin"}"
- rvm_man_path="${rvm_man_path:-"/usr/local/man"}"
+ rvm_man_path="${rvm_man_path:-"/usr/local/share/man"}"
else
rvm_man_path="${rvm_man_path:-"$rvm_path/man"}"
rvm_bin_path="${rvm_bin_path:-"$rvm_path/bin"}"
View
4 scripts/install
@@ -266,6 +266,10 @@ if [[ "root" = "$(whoami)" ]] ; then
mkdir -p $rvm_bin_path
chmod +x $rvm_bin_path/rvm
chmod +x $rvm_bin_path/rvmsudo
+ printf "\n Copying manpages into place."
+ for man_file in $(\ls "$install_source_path/man"); do
+ cp -f "$install_source_path/man/$man_file" "$rvm_man_path/$man_file"
+ done
fi
if [[ "$upgrade_flag" -eq 0 ]] ; then
Please sign in to comment.
Something went wrong with that request. Please try again.