Modify sharing plugin template for CLI
[sharing-cli] / debian / sharing-plugin-cli.prerm
diff --git a/debian/sharing-plugin-cli.prerm b/debian/sharing-plugin-cli.prerm
new file mode 100644 (file)
index 0000000..06b9685
--- /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 sharingplugincli
+fi