Ticket #282: prerm

File prerm, 317 bytes (added by Gerritv, 12 years ago)

debian/prerm

Line 
1#!/bin/sh -e
2
3# remove configuration
4
5if [ "$1" = "purge" ]; then
6    gconftool-2 --recursive-unset "/apps/navit"
7fi
8
9# Delete the .desktop and .service files in case the app-installer didn't.
10rm -f /usr/share/applications/hildon/navit.desktop
11rm -f /usr/share/dbus-1/services/org.navit-project.Navit.service
12
13exit 0