oblogout: remove copy-pasta sed on python shebang

Our hook will take care of it.
This commit is contained in:
Alessio Sergi 2018-04-15 19:41:41 +02:00
parent f9c6f0d3e1
commit d28d6eb3c4
1 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,8 @@
pkgname=oblogout pkgname=oblogout
version=0.2 version=0.2
revision=2 revision=2
wrksrc="${pkgname}"
noarch=yes noarch=yes
wrksrc="${pkgname}"
build_style=python2-module build_style=python2-module
conf_files="/etc/oblogout.conf" conf_files="/etc/oblogout.conf"
pycompile_module="oblogout" pycompile_module="oblogout"
@ -18,7 +18,6 @@ checksum=f80003b85e9f4f1c588675453ea03f40a86fc50546d509ceb69706eb045782a9
pre_configure() { pre_configure() {
sed -i 's/fromstring/frombytes/' oblogout/__init__.py sed -i 's/fromstring/frombytes/' oblogout/__init__.py
sed -i '0,/on/s//on2/' "oblogout"/*.py
sed -i 's|usehal = true|usehal = false|' data/oblogout.conf sed -i 's|usehal = true|usehal = false|' data/oblogout.conf
sed -i 's|pmi action hibernate|ZZZ|' data/oblogout.conf sed -i 's|pmi action hibernate|ZZZ|' data/oblogout.conf