Fixes NB#120278, read/unread status is not updated when clicking on
[modest] / src / hildon2 / modest-clean.sh
old mode 100644 (file)
new mode 100755 (executable)
index 305650f..0d3cf79
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+# First we kill Modest to make sure that, when we remove
+# all the data, modest won't write again
+PIDS=`pidof modest` && kill -15 $PIDS
+
+# Removing modest user data folder
 rm -rf /home/user/.modest
 
-return 0
+exit 0