Author: Paul_R Date: 2008-09-18 15:49:50 +0200 (Thu, 18 Sep 2008) New Revision: 1907
Modified: software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/postinst Log: * Changed $USER by $LOGNAME. LOGNAME is written when the session opens, so it don't change even with sudo or su. Modified: software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/postinst =================================================================== --- software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/postinst 2008-09-18 13:46:37 UTC (rev 1906) +++ software_suite_v2/tuxware/installers/unix/trunk/build_deps/common/postinst 2008-09-18 13:49:50 UTC (rev 1907) @@ -7,11 +7,4 @@ update-rc.d tuxhttpserver defaults /etc/init.d/tuxhttpserver start chmod 777 /opt/tuxdroid/controlcenter -if [ $USER == "root" ]; then - echo "" - echo "================================================================================" - echo "Please run 'tux_updater' as normal user to download the last control " - echo "center, gadgets and tools." -else - gksu -u $USER /opt/tuxdroid/misc/tux_updater -fi +gksu -u $LOGNAME /opt/tuxdroid/misc/tux_updater ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Tux-droid-svn mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tux-droid-svn
