summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/twisted/twisted.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/not_built/extra/community/twisted/twisted.install')
-rw-r--r--abs/not_built/extra/community/twisted/twisted.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/not_built/extra/community/twisted/twisted.install b/abs/not_built/extra/community/twisted/twisted.install
new file mode 100644
index 0000000..62a2cc5
--- /dev/null
+++ b/abs/not_built/extra/community/twisted/twisted.install
@@ -0,0 +1,11 @@
+post_install() {
+ python2 -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || return 1
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ find /usr/lib/python2.6/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
+}