summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/twisted/twisted.install
blob: 62a2cc530e27cc5027f1efebff2401512d535c14 (plain)
1
2
3
4
5
6
7
8
9
10
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
}