#! /bin/sh -e

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

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

Q=`run-standalone.sh zenity --question --text="Would you like to install the customized transitions as well?\ tn The transitions are applyed only if this theme is used." --ok-label=Yes; echo $?`

if [ "$Q" = "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

