#!/bin/sh
#update the icon cache
gtk-update-icon-cache -f /usr/share/icons/hicolor

# copy the desktop file for use
if [ -f /usr/share/applications/hildon/conboy.inactive ]
	then ( cd /usr/share/applications/hildon/ && mv conboy.inactive conboy.desktop )
fi

# select the installation folder
if [ -f /usr/bin/X11/maemo-select-menu-location ]
	then /usr/bin/X11/maemo-select-menu-location conboy.desktop
fi

# remove startup screenshot if there
if [ -f /home/user/.cache/launch/de.zwong.conboy.pvr ]
	then rm /home/user/.cache/launch/de.zwong.conboy.pvr
fi
