SOURCES: ies4linux.ie.sh - changed for diffrent locale support
pascalek
pascalek at pld-linux.org
Tue May 8 22:12:24 CEST 2007
Author: pascalek Date: Tue May 8 20:12:24 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- changed for diffrent locale support
---- Files affected:
SOURCES:
ies4linux.ie.sh (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/ies4linux.ie.sh
diff -u SOURCES/ies4linux.ie.sh:1.1 SOURCES/ies4linux.ie.sh:1.2
--- SOURCES/ies4linux.ie.sh:1.1 Wed Oct 18 23:30:40 2006
+++ SOURCES/ies4linux.ie.sh Tue May 8 22:12:19 2007
@@ -7,9 +7,11 @@
# See ies4linux's own LICENSE or COPYING file for more information.
##############################################################################
-IE=`basename "$0"`
-MASTERPREFIX="/usr/share/ies4linux/$IE"
-WINEPREFIX="${HOME}/.ies4linux/$IE"
+IE=`basename "$0" | awk -F - '{ print $1 }'`
+LOCALE=`basename "$0" | sed 's:ie[0-9]*-*::'`
+[ "x$LOCALE" == "x" ] && LOCALE="en-US"
+MASTERPREFIX="/usr/share/ies4linux/$LOCALE/$IE"
+WINEPREFIX="${HOME}/.ies4linux/$IE-$LOCALE"
# If we're not set up, create the user's magic symlink-copy of the master
# installation.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/ies4linux.ie.sh?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list