Linux Archive

Linux Archive (
-   ArchLinux Pacman Development (
-   -   scripts: allow usage when gettext is not installed (

Xavier 02-18-2008 09:01 AM

scripts: allow usage when gettext is not installed
On Sun, Feb 17, 2008 at 09:24:49PM -0600, Dan McGee wrote:
> Address the issue of our scripts not working so great when gettext is not
> available. This has come up in multiple bug reports, and is relatively easy
> to address by adding a simple check and a stub function if gettext was not
> found that simply echos the original message.
> Signed-off-by: Dan McGee <>
> ---
> This issue comes up a lot it seems, so I hope this simple check can fix
> things up for good. Can anyone see anything wrong with doing this? Quick
> tests locally seemed to make me think it works? Just rename some gettext calls
> to something you know does not exist, and change the patch below accordingly
> to test. Someone with a bit more bash knowledge and checking more complex
> strings with echo would be good to have here.
> I'd like to push this to 3.1.2 if there are no issues, as it is an easy
> and straightforward fix.

My bash knowledge is worse, but it's an easy fix, it makes sense, and it
works fine in my tests, so signoff :)

pacman-dev mailing list

All times are GMT. The time now is 08:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.