Disable Nepomuk by default on all new installs.
[opensuse:kdebase4-opensuse.git] / config-files / usr / share / opensuse-kiwi / live_user_scripts / kde4.sh
1 #! /bin/sh
2
3 set -e
4
5 if test -e /usr/share/applications/YaST2/live-installer.desktop ; then
6    if [ ! -e "$HOME/Desktop/live-installer.desktop" -a -e "/usr/share/kde4/config/SuSE/default/live-installer.desktop" ]; then
7         mkdir -p $HOME/Desktop
8         cp /usr/share/kde4/config/SuSE/default/live-installer.desktop $HOME/Desktop/
9         chmod u+x $HOME/Desktop/live-installer.desktop
10    fi
11 fi
12
13 mkdir -p $HOME/.kde4/share/config
14 cp -a /usr/share/kde4/config/SuSE/default/lowspacesuse.live $HOME/.kde4/share/config/lowspacesuse
15 cp -a /usr/share/kde4/config/SuSE/default/kdedrc.live $HOME/.kde4/share/config/kdedrc
16
17 mkdir -p $HOME/.config/autostart
18 cp -a /usr/share/kde4/config/SuSE/default/kupdateapplet-autostart.desktop.live $HOME/.config/autostart/kupdateapplet-autostart.desktop
19 cp -a /usr/share/kde4/config/SuSE/default/beagled-autostart.desktop.live $HOME/.config/autostart/beagled-autostart.desktop
20
21 /usr/bin/kbuildsycoca4
22 # the cache is hostname specific, so don't hardcode "build24". at least "linux"
23 mv $HOME/.kde4/cache-* $HOME/.kde4/cache-linux
24