Move all code to a subdir for the garage repo
[g2-sharing] / sharing-plugin-gallery2 / debian / sharing-service-gallery2.prerm
diff --git a/sharing-plugin-gallery2/debian/sharing-service-gallery2.prerm b/sharing-plugin-gallery2/debian/sharing-service-gallery2.prerm
new file mode 100644 (file)
index 0000000..a6a4528
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+# You can use sharing-account-remover to remove the accounts at plugin
+# uninstallation
+if [ "$1" = "remove" ]; then
+       /usr/bin/sharing-account-remover sharingplugingallery2
+fi