diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index a615cc88..1d159a3b 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -1100,13 +1100,16 @@ function mesh_client_startup_applications { echo 'Name=Tox Chat' >> $rootdir/home/$MY_USERNAME/.config/autostart/tox.desktop echo 'Comment=Peer to peer encrypted communications' >> $rootdir/home/$MY_USERNAME/.config/autostart/tox.desktop chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.config - chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop } function mesh_desktop_icons { # qTox chroot "$rootdir" ln -s /home/$MY_USERNAME/.config/autostart/tox.desktop /home/$MY_USERNAME/Desktop/tox.desktop + if [ ! -d $rootdir/home/$MY_USERNAME/Desktop ]; then + mkdir -p $rootdir/home/$MY_USERNAME/Desktop + fi + # Terminal echo '[Desktop Entry]' > $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop echo 'Name=MATE Terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop