#!/bin/sh
#backup transitions.ini

f=/tmp/maemeemo-text

cat > $f <<EOF
This package uses its own transitions.ini.
You will need to rename it manually and backup the original.
View the instructions on wiki.maemo.org/maemeemo
EOF

	maemo-confirm-text "Installation notes" $f

cat > $f <<E
Whooops, seems your N900 is in the mass storage mode. 
Please unplug it from your computer or the installation will fail.
E

if [ "`mount | grep '/home/user/MyDocs type vfat'`" == "" ]
then
	maemo-confirm-text "Warning!" $f
fi
if [ "`mount | grep '/home/user/MyDocs type vfat'`" == "" ] # again
then
	exit 1
fi

	rm -f $f

#mv /usr/share/hildon-desktop/transitions.ini /usr/share/hildon-desktop/transitions.ini.mmmbak
