summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-nntp/sabnzbd/sabnzbd-1.1.0.ebuild2
-rw-r--r--net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild1
2 files changed, 2 insertions, 1 deletions
diff --git a/net-nntp/sabnzbd/sabnzbd-1.1.0.ebuild b/net-nntp/sabnzbd/sabnzbd-1.1.0.ebuild
index e5f0860d7e02..2f83ae5c577d 100644
--- a/net-nntp/sabnzbd/sabnzbd-1.1.0.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-1.1.0.ebuild
@@ -80,9 +80,9 @@ src_install() {
dodir /usr/share/${PN}/sabnzbd
insinto /usr/share/${PN}/
+ python_convert_shebangs 2 SABnzbd.py
doins SABnzbd.py
fperms +x /usr/share/${PN}/SABnzbd.py
- dobin "${FILESDIR}"/sabnzbd
for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
insinto /usr/share/${PN}/${d}
diff --git a/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild b/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
index 322add75b054..abf6bc4a263e 100644
--- a/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
@@ -88,6 +88,7 @@ src_install() {
insopts -m 0755
doins SABnzbd.py
+ python_fix_shebang "${D}usr/share/${PN}"
python_optimize "${D}usr/share/${PN}"
newinitd "${FILESDIR}/${PN}.initd" "${PN}"