Compatible with Ubuntu 11.04 (libc.so.6 path)
This commit is contained in:
parent
69e08564fe
commit
86d91095a2
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
mintmenu (5.1.9) katya; urgency=low
|
||||
|
||||
* Compatible with Ubuntu 11.04 (which changed its libc.so.6 path)
|
||||
|
||||
-- Clement Lefebvre <root@linuxmint.com> Tue, 12 Apr 2011 17:43:00 +0000
|
||||
|
||||
mintmenu (5.1.8) katya; urgency=low
|
||||
|
||||
* Fixed indentation issue in recent documents plugin
|
||||
|
@ -37,8 +37,12 @@ if (architecture.find("x86_64") >= 0):
|
||||
libc.prctl(15, 'mintmenu', 0, 0, 0)
|
||||
else:
|
||||
import dl
|
||||
if os.path.exists('/lib/libc.so.6'):
|
||||
libc = dl.open('/lib/libc.so.6')
|
||||
libc.call('prctl', 15, 'mintmenu', 0, 0, 0)
|
||||
elif os.path.exists('/lib/i386-linux-gnu/libc.so.6'):
|
||||
libc = dl.open('/lib/i386-linux-gnu/libc.so.6')
|
||||
libc.call('prctl', 15, 'mintmenu', 0, 0, 0)
|
||||
|
||||
# i18n
|
||||
gettext.install("mintmenu", "/usr/share/linuxmint/locale")
|
||||
|
Loading…
Reference in New Issue
Block a user