X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F10adduser;h=c7adad28d11c23b7680d308b33df1edd1b2a3549;hb=1bad81c0450e84a94dc1d5f4ead9886f15749b80;hp=92950707e772c38d40988cb679865cee1f676d47;hpb=65e068fbd1b5265f6275fe434e1a5f44a7ceea8f;p=live-boot-grml.git diff --git a/scripts/live-bottom/10adduser b/scripts/live-bottom/10adduser index 9295070..c7adad2 100755 --- a/scripts/live-bottom/10adduser +++ b/scripts/live-bottom/10adduser @@ -117,4 +117,14 @@ 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 +fi + log_end_msg