#! /bin/sh -e

THEMEDIR='/usr/share/themes/Blue-sky'

if [ ! -d $THEMEDIR ]; then
  exit 0
fi
	  

T=`run-standalone.sh zenity --question --text="Install custom transitions for this theme?" --ok-label=Yes; echo $?`

if [ "$T" = "0" ]; then
      cp -rf /usr/share/themes/Blue-sky/transitions.custom /usr/share/themes/Blue-sky/transitions.ini
fi

hildon-theme-cacher $THEMEDIR
exit 0

