Revert "livecdfs-update.sh: Escape ampersands in STARTX sed expression"
authorMatt Turner <mattst88@gmail.com>
Fri, 11 Oct 2013 22:06:14 +0000 (15:06 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 26 Oct 2013 17:23:18 +0000 (10:23 -0700)
This reverts commit ed4d1623c3dac22ed008f518b79deecde1f33c26.

The commit was a v1 commit that was supposed to be replaced.

targets/support/livecdfs-update.sh

index b34e9177fa3382d66b8050f85a9d40198fe6d5a5..f8eb4257ceded3e8a71729c351a9c0c5bd5ac2f6 100644 (file)
@@ -378,7 +378,7 @@ esac
 if [ -e /etc/startx ]
 then
        sed -i \
-               "s:##STARTX:source /etc/profile \&\& su - ${first_user} -c startx:" \
+               "s:##STARTX:source /etc/profile && su - ${first_user} -c startx:" \
                /root/.bashrc
 fi