rendered paste bodyfor file in /usr/share/applications/ubiquity-gtkui.desktop /usr/share/applicatio
ns/kde/ubiquity-kdeui.desktop; do
if [ -f "/root/$file" ]; then
chroot /root install -D -o $USERNAME -g $USERNAME $file /home/$USERNAME/
Desktop/$(basename "$file")
break
fi
done
if [ -L /root/home/$USERNAME/Examples ]; then
chroot /root install -o $USERNAME -g $USERNAME -d /home/$USERNAME/Desktop/
mv /root/home/$USERNAME/Examples /root/home/$USERNAME/Desktop/
fi
if [ -d /usr/share/doc/ichthux-docs ]; then
[[ -d /root/home/$USERNAME/.kde/Autostart ]] || mkdir -p /root/home/$USERNAME/.kde/Autostart
cat >> /root/home/$USERNAME/.kde/Autostart/01releasenotes << __EOF
#!/bin/bash
/usr/bin/konqueror /usr/share/doc/ichthux-docs/release-notes/C/index.html
__EOF
chroot /chroot chown -R $USERNAME:$USERNAME /home/$USERNAME/.kde/
chroot /chroot chmod 755 /home/$USERNAME/.kde/Autostart/01releasenotes
fi
log_end_msg