#!/bin/sh

cat > $f <<E
Whooops, seems your N900 is in the mass storage mode. 
Please unplug it from your computer or the removal 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 /home/user/MyDocs/.images/MaeMeeMo /opt/maemeemo/wallpapers 
