summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs')
-rwxr-xr-xx11-libs/motif-config/files/motif-config-0.14
1 files changed, 2 insertions, 2 deletions
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
}