Comment 33 for bug 13497

Revision history for this message
Thomas (t.c) wrote :

Hi, please make a fix to this. On a live system from usb stick the file /root/etc/environment grows and grows because nobody check if the line exist there.

better it is like this:

grep RUNNING_UNDER_GDM /root/etc/environment >/dev/null 2>&1 || echo 'RUNNING_UNDER_GDM="yes"' >> /root/etc/environment

Thanks