Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37838055
en ru br
Репозитории ALT
S:7.0.3-alt1
5.1: 4.13-alt7
4.1: 4.11-alt3
4.0: 4.8-alt4
3.0: 4.8-alt2
www.altlinux.org/Changes

Группа :: Издательство
Пакет: texinfo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: texinfo-4.6-alt-install-info-rpm_excludedocs.patch
Скачать


--- texinfo-4.6/util/install-info.c.orig	2003-10-27 17:11:27 +0300
+++ texinfo-4.6/util/install-info.c	2003-10-27 17:27:44 +0300
@@ -1243,6 +1243,16 @@ For more information about these matters
   if (!dirfile)
     fatal (_("No dir file specified; try --help for more information."), 0, 0);
 
+  {
+    const char *skip = getenv ("RPM_EXCLUDEDOCS");
+
+    while (skip && *skip && isspace(*skip))
+      ++skip;
+
+    if (skip && *skip)
+      return EXIT_SUCCESS;
+  }
+
   /* Read the Info file and parse it into lines, unless we're deleting.  */
   if (!delete_flag)
     {
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin