Fix locale path detection on non-linuces
Bug #495662 reported by
mrk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
GTG | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
Medium
|
Luca Falavigna |
Bug Description
Good day!
You make good work with DIST_ROOTDIR and DIST_ROOTDIR_LOCAL in GTG/__init__.py, but there is a problem on FreeBSD with LOCALE_PATH ). We install locales in /usr/local/
Changed in gtg: | |
milestone: | none → 0.2 |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
I really hate the "pass" line but I think we should try to make packagers job as easy as possible.
Maybe it's less ugly to put it that kind of way :
if not os.path. isdir(LOCALE_ PATH): isdir(' /usr/local/ share/locale' ): share/locale'
f os.path.
LOCALE_PATH = '/usr/local/
else:
LOCALE_PATH = '/usr/share/locale'
Luca F. > I let you decide if this patch is safe and could be included in 0.2. If you consider it's good, you have my vote.