diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/xfce4-firstrun | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/tools/xfce4-firstrun b/tools/xfce4-firstrun index 7fa83da..d6be828 100644 --- a/tools/xfce4-firstrun +++ b/tools/xfce4-firstrun @@ -3,7 +3,6 @@ # Author: tpg@mandriva.org # Licensed under GPL terms -MDV_FLAVOUR=`echo $META_CLASS` USER_DESKTOP=`xdg-user-dir DESKTOP` DESKTOP_FILE=$HOME/.config/autostart/xfce4-firstrun.desktop @@ -23,35 +22,14 @@ Hidden=true EOF # - if [ $MDV_FLAVOUR = "download" -o $MDV_FLAVOUR = "desktop" ]; then - if [ ! -e $USER_DESKTOP/register.desktop ]; then - cp -f /usr/share/mdk/desktop/free/register.desktop $USER_DESKTOP 2> /dev/null - fi - - if [ ! -e $USER_DESKTOP/upgrade.desktop ]; then - cp -f /usr/share/mdk/desktop/one/upgrade.desktop $USER_DESKTOP 2> /dev/null - fi - - if [ ! -e $USER_DESKTOP/mandriva-draklive-install.desktop ]; then - cp -f /usr/share/applications/mandriva-draklive-install.desktop $USER_DESKTOP 2> /dev/null + if [ ! -e $USER_DESKTOP/mageia-draklive-install.desktop ]; then + cp -f /usr/share/applications/mageia-draklive-install.desktop $USER_DESKTOP 2> /dev/null fi if [ "$(pidof xfdesktop)" ]; then xfdesktop --reload 1> /dev/null; echo "xfce4-firstrun: xfdesktop reloaded."; fi exit || 0 - else - if [ ! -e $USER_DESKTOP/register.desktop ]; then - cp -f /usr/share/mdk/desktop/powerpack/register.desktop $USER_DESKTOP 2> /dev/null - fi - - if [ ! -e $USER_DESKTOP/mandriva-draklive-install.desktop ]; then - cp -f /usr/share/applications/mandriva-draklive-install.desktop $USER_DESKTOP 2> /dev/null - fi - if [ "$(pidof xfdesktop)" ]; then - xfdesktop --reload 1> /dev/null; echo "xfce4-firstrun: xfdesktop reloaded."; - fi - exit || 0 fi else echo "xfce4-firstrun: make sure you have installed xdg-user-dirs-gtk and xdg-user-dir packages." fi |