Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37887670
en ru br
ALT Linux repos
S:379-alt2
5.0: 241-alt1
4.1: 235-alt1
4.0: 231-alt1
3.0: 202-alt2

Group :: Terminals
RPM: xterm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xterm-alt-man_suffix.patch
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"
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin