Bug 15406 - Wont work without /etc/sysconfig/i18n
Summary: Wont work without /etc/sysconfig/i18n
Status: CLOSED DUPLICATE of bug 15405
Alias: None
Product: Sisyphus
Classification: Development
Component: indexhtml (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-19 21:00 MSD by Evgenii Terechkov
Modified: 2008-04-20 08:12 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2008-04-19 21:00:52 MSD
indexhtml_update никогда не порождает index.html. Причина в строке
. /etc/init.d/functions
в этом скрипте. Точнее, в безусловном присвоений значения "POSIX" переменным
LANGUAGE и LANG в /etc/init.d/functions. Из-за первой indexhtml_update всегда
ищет файл index-PO.html чтобы скопировать его в index.html

Последним сообщением в пакете стойт:
* Tue Feb 01 2005 Anton Farygin <rider@altlinux.ru> 3:1.2.sisyphus-alt1

- made it works without /etc/sysconfig/i18n

Не знаю, что имелось ввиду, но оно таки не работает.

Как быстрый и грязный хак, добавил строчку
. /etc/sysconfig/i18n;LANGUAGE=''
после вышеупомянутой. После этого заработало.
Steps to Reproduce:
1.apt-get install indexhtml
2.reboot
3.ls /usr/share/doc/HTML/index.html
Actual Results:  
No such file

Expected Results:  
/usr/share/doc/HTML/index.html
Comment 1 Evgenii Terechkov 2008-04-20 08:11:46 MSD

*** This bug has been marked as a duplicate of 15405 ***