This commit is contained in:
Bob Mottram 2016-06-24 21:33:11 +01:00
parent ee2b4ee261
commit e1933a37ca
1 changed files with 3 additions and 3 deletions

View File

@ -1103,13 +1103,13 @@ function mesh_client_startup_applications {
}
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
# qTox
chroot "$rootdir" ln -s /home/$MY_USERNAME/.config/autostart/tox.desktop /home/$MY_USERNAME/Desktop/tox.desktop
# Terminal
echo '[Desktop Entry]' > $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
echo 'Name=MATE Terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop