X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-clean.sh;h=0d3cf7927d9575f5ba4163a138aba6749179bd8b;hb=4ab4ff904fc23d7cac7da69d52db8b0acc4c3525;hp=09a022d6c594dd65cc23269586085f494b7f8b82;hpb=e453a18838d87c0a5fafef9c83e0b656da47b6ce;p=modest diff --git a/src/hildon2/modest-clean.sh b/src/hildon2/modest-clean.sh index 09a022d..0d3cf79 100755 --- a/src/hildon2/modest-clean.sh +++ b/src/hildon2/modest-clean.sh @@ -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 exit 0