python-Twisted: fix absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
maxice8 2018-08-26 16:16:52 -03:00
parent b14af9f598
commit 08a09917cd
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
case ${ACTION} in
purge)
find /usr/lib/python2.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
find usr/lib/python2.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
;;
esac

View File

@ -1,5 +1,5 @@
case ${ACTION} in
purge)
find /usr/lib/python3.*/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
find usr/lib/python3.*/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
;;
esac

View File

@ -1,7 +1,7 @@
# Template file for 'python-Twisted'
pkgname=python-Twisted
version=18.7.0
revision=1
revision=2
wrksrc="Twisted-${version}"
build_style=python-module
pycompile_module="twisted"