summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/10adduser
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-26 13:39:37 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:06 +0100
commit705393cde8a537bb0a652d676949b9890c110d3a (patch)
treeb5b399b59675aeb190ed9e40bcc5a2a1d21ab13b /scripts/live-bottom/10adduser
parentf1d90cde9113d2fc012b7234e698e88e4e3ecfc3 (diff)
downloadlive-boot-705393cde8a537bb0a652d676949b9890c110d3a.tar.gz
live-boot-705393cde8a537bb0a652d676949b9890c110d3a.zip
Merging casper 1.166.
Diffstat (limited to 'scripts/live-bottom/10adduser')
-rwxr-xr-xscripts/live-bottom/10adduser5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/live-bottom/10adduser b/scripts/live-bottom/10adduser
index bdb972c..c7adad2 100755
--- a/scripts/live-bottom/10adduser
+++ b/scripts/live-bottom/10adduser
@@ -117,6 +117,11 @@ then
mv /root/home/${USERNAME}/Examples /root/home/${USERNAME}/Desktop/
fi
+if [ -f /root/home/$USERNAME/examples.desktop ]; then
+ chroot /root install -o $USERNAME -g $USERNAME -d /home/$USERNAME/Desktop/
+ mv /root/home/$USERNAME/examples.desktop /root/home/$USERNAME/Desktop/
+fi
+
if [ -e /root/usr/share/applications/live-installer-launcher.desktop ]
then
chroot /root install -D -o ${USERNAME} -g ${USERNAME} /usr/share/applications/live-installer-launcher.desktop /home/${USERNAME}/Desktop/live-installer-launcher.desktop