Author: ks156 Date: 2009-03-19 12:30:46 +0100 (Thu, 19 Mar 2009) New Revision: 4149
Modified: software_suite_v2/tuxware/installers/unix/branches/refactoring/installers/create_debian.sh Log: * Added GL * Removed tuxdroid.conf from conffile Modified: software_suite_v2/tuxware/installers/unix/branches/refactoring/installers/create_debian.sh =================================================================== --- software_suite_v2/tuxware/installers/unix/branches/refactoring/installers/create_debian.sh 2009-03-19 10:37:20 UTC (rev 4148) +++ software_suite_v2/tuxware/installers/unix/branches/refactoring/installers/create_debian.sh 2009-03-19 11:30:46 UTC (rev 4149) @@ -104,13 +104,21 @@ # Thix identifier let the software know when an update has been done IUUID=`uuidgen` +# Languages used for Tux Droid +# GL : Graphical Language +# L1 : Primary spoken language (for TTS) +# L2 : Secondary spoken language (for TTS) +GL= +L1= +L2= + " >> $MIRROR/etc/tuxdroid/tuxdroid.conf # Create the debian directory [[ -d $DEBIAN_DIR ]] || mkdir -p $DEBIAN_DIR # Create the the conffile -echo "/etc/tuxdroid/tuxdroid.conf" >> $CONF_FILE +#echo "/etc/tuxdroid/tuxdroid.conf" >> $CONF_FILE # Create the Control file echo "Package: Tuxsetup @@ -141,6 +149,17 @@ /etc/init.d/tuxhttpserver start chmod +x $PREFIX/share/tuxdroid/tuxhttpserver/tuxhttpserver.py chmod +x $PREFIX/share/tuxdroid/tux_updater/tux_software_updater.py + +# Find the language +if [ -z \$LANG ] || [ \$LANG == "POSIX" ] || [ \$LANG == "C" ]; then + GL=en_US +else + GL=\`echo \$LANG |cut -f 1 -d \".\"\` +fi +# Set GL +sed \"s/GL=/GL=\$GL/g\" /etc/tuxdroid/tuxdroid.conf > /tmp/tuxdroid.conf.bak +mv /tmp/tuxdroid.conf.bak /etc/tuxdroid/tuxdroid.conf + exit 0" >> $POSTINST # Create Pre Install file ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Tux-droid-svn mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tux-droid-svn
