summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-15 15:51:11 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-15 15:51:11 (GMT)
commitf74656ad5087b9e0351888174fe20c8ca80900b6 (patch)
tree0561ffd00cca01800217baec09ad63d1953f665a /abs/core
parent69965fe0d06351ab663189eeed77eaf60e76050c (diff)
downloadlinhes_pkgbuild-f74656ad5087b9e0351888174fe20c8ca80900b6.zip
linhes_pkgbuild-f74656ad5087b9e0351888174fe20c8ca80900b6.tar.gz
linhes_pkgbuild-f74656ad5087b9e0351888174fe20c8ca80900b6.tar.bz2
certmaster: support python 2.7
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/certmaster/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/core/certmaster/PKGBUILD b/abs/core/certmaster/PKGBUILD
index 6672e0c..ccb85fa 100644
--- a/abs/core/certmaster/PKGBUILD
+++ b/abs/core/certmaster/PKGBUILD
@@ -8,7 +8,7 @@ depends=('pyopenssl' 'linhes-scripts>=7-24' )
makedepends=()
conflicts=()
replaces=()
-moddir="pkg/usr/lib/python2.6/site-packages/func/minion/modules/"
+moddir="pkg/usr/lib/python2.7/site-packages/func/minion/modules/"
backup=('etc/certmaster/certmaster.conf' 'etc/certmaster/minion.conf')
install=certmaster.install
@@ -25,6 +25,7 @@ build() {
install -m755 -D logrotate-certmaster.conf $startdir/pkg/etc/logrotate.d/certmaster.conf
mkdir -p $startdir/pkg/var/log/certmaster
cd $startdir/pkg
+ find ./usr/bin/* -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' {} \;
find ./ -name "*.pyc" -print | xargs rm -f
}
md5sums=('f5acc9ff1efa34971296e26d794c5b35'