commitando os sources pra gerar o pacote debian
[remotepc] / deb-package / server / notes / postrm
diff --git a/deb-package/server/notes/postrm b/deb-package/server/notes/postrm
new file mode 100755 (executable)
index 0000000..4fa6e54
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/sh -e
+set -e
+
+if which update-icon-caches >/dev/null 2>&1 ; then
+       update-icon-caches /usr/share/icons/hicolor
+fi
+
+# remove configuration
+
+# Delete the .desktop file in case the app-installer didn't.
+rm -f /usr/share/applications/pcremote-server.desktop
+
+# Delete the pcremoteclt directory in case the app-installer didn't
+rm -fr /usr/share/pcremote-server
+
+# Delete the symbolics links files in case the app-installer didn't.
+rm -f /usr/bin/pcremote-server
+
+# Delete the pcremote icon
+rm -f /usr/share/icons/hicolor/48x48/pcremote.png
+
+# Delete the pcremote menu
+rm -f /usr/share/menu/pcremote-server-menu
+
+exit 0