diff options
author | 2022-12-22 08:07:21 +0100 | |
---|---|---|
committer | 2022-12-22 08:07:21 +0100 | |
commit | e492d49b2cdff404d2fc3acfb79341946941baef (patch) | |
tree | 28e82c0dc3ab2001dbd804b5419f22421dabdcf5 /app-admin | |
parent | x11-misc/gtkdialog: Remove, as it is back to gentoo repository (diff) | |
download | mv-e492d49b2cdff404d2fc3acfb79341946941baef.tar.gz mv-e492d49b2cdff404d2fc3acfb79341946941baef.tar.bz2 mv-e492d49b2cdff404d2fc3acfb79341946941baef.zip |
split-usr: If unset use /usr/bin/sh instead of /bin/sh
Signed-off-by: Martin Väth <martin@mvath.de>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sudox/sudox-10.0-r1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-admin/sudox/sudox-10.0-r1.ebuild b/app-admin/sudox/sudox-10.0-r1.ebuild index 36fb6f4c..00ba2948 100644 --- a/app-admin/sudox/sudox-10.0-r1.ebuild +++ b/app-admin/sudox/sudox-10.0-r1.ebuild @@ -11,14 +11,14 @@ SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" -IUSE="" +IUSE="split-usr" RDEPEND="app-admin/sudo app-shells/push:0/1" DEPEND="" src_prepare() { use prefix || sed -i \ - -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}"'/bin/sh"' \ + -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}$(usex split-usr '' /usr)"'/bin/sh"' \ -- bin/* || die default } |