From f2f3fc0601dae0efdf582833e773ff9d87759ec9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 May 2020 01:30:08 +0100 Subject: app-portage/sisyphus : fix gui shebang only when the gui is enabled --- app-portage/sisyphus/sisyphus-3.1910.1-r3.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app-portage/sisyphus') diff --git a/app-portage/sisyphus/sisyphus-3.1910.1-r3.ebuild b/app-portage/sisyphus/sisyphus-3.1910.1-r3.ebuild index 31ba3828..01d9ecb0 100644 --- a/app-portage/sisyphus/sisyphus-3.1910.1-r3.ebuild +++ b/app-portage/sisyphus/sisyphus-3.1910.1-r3.ebuild @@ -63,5 +63,8 @@ src_install() { # enforce best available python implementation python_setup python_fix_shebang "${ED}usr/share/${PN}/${PN}-cli.py" - python_fix_shebang "${ED}usr/share/${PN}/${PN}-gui.py" + + if use gui; then + python_fix_shebang "${ED}usr/share/${PN}/${PN}-gui.py" + fi } -- cgit v1.2.3