FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 02-18-2008, 09:01 AM
Xavier
 
Default 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 <dan@archlinux.org>
> ---
>
> 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
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 

Thread Tools




All times are GMT. The time now is 12:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org