explicitly mkdir Desktop dir

workaround https://bugzilla.redhat.com/show_bug.cgi?id=1266243
This commit is contained in:
Rex Dieter 2015-09-25 09:12:33 -05:00
parent 78114bb82f
commit 22c37e61ca

View File

@ -60,9 +60,10 @@ MENU_EOF
# show liveinst.desktop on desktop and in menu # show liveinst.desktop on desktop and in menu
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
# set executable bit disable KDE security warning
# chmod +x ~/Desktop/liveinst.desktop to disable KDE's security warning
chmod +x /usr/share/applications/liveinst.desktop chmod +x /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop
cp -a /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
# copy over the icons for liveinst to hicolor # copy over the icons for liveinst to hicolor
cp /usr/share/icons/gnome/16x16/apps/system-software-install.png /usr/share/icons/hicolor/16x16/apps/ cp /usr/share/icons/gnome/16x16/apps/system-software-install.png /usr/share/icons/hicolor/16x16/apps/