Group :: Terminals
RPM: xterm
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: xterm-alt-man_suffix.patch
Download
Download
diff --git a/xterm/minstall.sh b/xterm/minstall.sh
index b4c5a40..9b62572 100755
--- a/xterm/minstall.sh
+++ b/xterm/minstall.sh
@@ -33,15 +33,10 @@ NEW_FILE=temp$$
MY_MANSECT=$suffix
-# "X" is usually in the miscellaneous section, along with "undocumented".
-# Use that to guess an appropriate section.
-X_MANSECT=`man X 2>&1 | tr '\012' '\020' | sed -e 's/^[^0123456789]*\([^) ][^) ]*\).*/\1/'`
-test -z "$X_MANSECT" && X_MANSECT=$suffix
-
sed -e 's%__vendorversion__%"X Window System"%' \
-e s%__apploaddir__%$APPS_DIR% \
-e s%__mansuffix__%$MY_MANSECT%g \
- -e s%__miscmansuffix__%$X_MANSECT%g \
+ -e s%__miscmansuffix__%$MY_MANSECT%g \
$OLD_FILE >$NEW_FILE
echo "$MINSTALL $OLD_FILE $END_FILE"