diff --git a/debian/changelog b/debian/changelog index 51d5075..13ebfde 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 12 Apr 2011 17:43:00 +0000 + mintmenu (5.1.8) katya; urgency=low * Fixed indentation issue in recent documents plugin diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index 4e2fad4..3e81f7d 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -37,8 +37,12 @@ if (architecture.find("x86_64") >= 0): libc.prctl(15, 'mintmenu', 0, 0, 0) else: import dl - libc = dl.open('/lib/libc.so.6') - libc.call('prctl', 15, 'mintmenu', 0, 0, 0) + 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")