--- /dev/null
+#!/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