From d28d6eb3c4c58414163d1c7eaf22f6875af343eb Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 15 Apr 2018 19:41:41 +0200 Subject: [PATCH] oblogout: remove copy-pasta sed on python shebang Our hook will take care of it. --- srcpkgs/oblogout/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/oblogout/template b/srcpkgs/oblogout/template index 3ef44e1f749..2d3ed5d224f 100644 --- a/srcpkgs/oblogout/template +++ b/srcpkgs/oblogout/template @@ -2,8 +2,8 @@ pkgname=oblogout version=0.2 revision=2 -wrksrc="${pkgname}" noarch=yes +wrksrc="${pkgname}" build_style=python2-module conf_files="/etc/oblogout.conf" pycompile_module="oblogout" @@ -18,7 +18,6 @@ checksum=f80003b85e9f4f1c588675453ea03f40a86fc50546d509ceb69706eb045782a9 pre_configure() { 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|pmi action hibernate|ZZZ|' data/oblogout.conf