From ab0da8162122b6409164be3bf3fb7c5b5594e0b9 Mon Sep 17 00:00:00 2001 From: Heinrich Wendel Date: Tue, 15 Feb 2005 16:05:19 +0000 Subject: small fix (Portage version: 2.0.51-r15) --- x11-libs/motif-config/files/motif-config-0.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11-libs/motif-config/files') diff --git a/x11-libs/motif-config/files/motif-config-0.1 b/x11-libs/motif-config/files/motif-config-0.1 index f1d90cee04a7..45544f65d5f7 100755 --- a/x11-libs/motif-config/files/motif-config-0.1 +++ b/x11-libs/motif-config/files/motif-config-0.1 @@ -79,7 +79,7 @@ _activate_profile() { ln -s ${file} ${file/-${new}/} done # man pages - for file in `find /usr/share/man -name "*-${new}.*"`; do + for file in `find /usr/share/man -regex ".*-${new}\..x?.gz"`; do ln -s ${file} ${file/-${new}/} done @@ -115,7 +115,7 @@ _deactivate_profile() { rm -f ${file/-${current}/} done # man pages - for file in `find /usr/share/man -name "*-${current}.*"`; do + for file in `find /usr/share/man -regex ".*-${current}\..x?.gz"`; do rm -f ${file/-${current}/} done } -- cgit v1.2.3-65-gdbad