[packaging] Make sure the %preun and %post scripts do not fail.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
Merge pull request #12 from nemomobile/packaging

[packaging] Make sure the %preun and %post scripts do not fail.