defining variables

Michael Tautschnig mt at debian.org
Mon Oct 18 15:38:09 CEST 2010


> That is to say if 'fr-latin1' exists?
> 

[...]

Do I get this correctly that you want "use fr-latin1, if possible, otherwise use
us-latin1?"

I think the following could do the trick:

if [ -e /usr/share/keymaps/i386/qwerty/fr-latin1 ] ; then
  KEYMAP="fr-latin1"
else
  KEYMAP="us-latin1"
fi

Hope this helps,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20101018/10e3943e/attachment.bin 


More information about the linux-fai mailing list