Permalink
Browse files

Add xz support to man pages symlink

  • Loading branch information...
Ryan Harris
Ryan Harris committed Jul 11, 2013
1 parent 70c9cdd commit 7e982f59beb1b9b9c1f872b7708cb6166e4a4f02
Showing with 2 additions and 2 deletions.
  1. +2 −2 app-admin/eselect-ruby/files/ruby.eselect-20110605-r1
@@ -41,7 +41,7 @@ check_target() {
remove_symlinks() {
rm -f ${ROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc,testrb} && \
- rm -f ${ROOT}${man1dir}/ruby.{1,1.gz,1.bz2,1.lzma}
+ rm -f ${ROOT}${man1dir}/ruby.{1,1.gz,1.bz2,1.lzma,1.xz}
for x in ${ROOT}${bindir}/ruby[0-9].[0-9]; do
# remove ruby1.9 -> ruby19 symlink if it exists:
if [ -L "$x" ]; then
@@ -53,7 +53,7 @@ remove_symlinks() {
create_man_symlinks() {
local version=${1}
- for m in ${ROOT}${man1dir}/ruby${version}.{1,1.gz,1.bz2,1.lzma}
+ for m in ${ROOT}${man1dir}/ruby${version}.{1,1.gz,1.bz2,1.lzma,1.xz}
do
if [[ -e ${m} ]] ; then
break

0 comments on commit 7e982f5

Please sign in to comment.