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
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