4 ### Set language code in Firefox config file
6 ### Copyright 2007-2008 Steven J. Murdoch <http://www.cl.cam.ac.uk/users/sjm217/>
7 ### See LICENSE for licensing information
17 # For linux, we tell this to be silent by passing "-n"
18 # On other platforms, we pass "-c" when they do nothing
24 ## Backup original file
25 ORIGFILENAME
=$FILENAME.orig
26 mv "$FILENAME" "$ORIGFILENAME"
28 ## Replace LanguageCode value with $LANGCODE
29 #sed -c "s/BUNDLELOCALE/$LANGCODE/" "$ORIGFILENAME" > "$FILENAME"
30 sed $SEDARG "s/BUNDLELOCALE/$LANGCODE/" "$ORIGFILENAME" > "$FILENAME"