diff options
author | Sargun Dhillon <sargun@sargun.me> | 2018-10-07 23:52:07 -0700 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-10-08 13:36:14 -0400 |
commit | af38adc81699981fefe31decceaeae3a4aba1f55 (patch) | |
tree | 9eddea845c6295d216ea2216ff4426554973e41a /sys-apps/shadow | |
parent | app-text/zathura: Version bump (v0.4.1) (diff) | |
download | gentoo-af38adc81699981fefe31decceaeae3a4aba1f55.tar.gz gentoo-af38adc81699981fefe31decceaeae3a4aba1f55.tar.bz2 gentoo-af38adc81699981fefe31decceaeae3a4aba1f55.zip |
sys-apps/shadow: Ensure /bin is present before moving file into it
When building with a new prefix, sometimes the /bin directory
does not exist at install time. Therefore, we need to create it
before using it.
You can recreate if you try to run:
emerge --prefix=/test shadow
Closes: https://github.com/gentoo/gentoo/pull/10107
Signed-off-by: Sargun Dhillon <sargun@sargun.me>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r-- | sys-apps/shadow/shadow-4.6.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/shadow/shadow-4.6.ebuild b/sys-apps/shadow/shadow-4.6.ebuild index 2c4f91f2ecd8..6c3e7bef5d76 100644 --- a/sys-apps/shadow/shadow-4.6.ebuild +++ b/sys-apps/shadow/shadow-4.6.ebuild @@ -110,6 +110,7 @@ src_install() { doins "${FILESDIR}"/default/useradd # move passwd to / to help recover broke systems #64441 + dodir /bin mv "${ED%/}"/usr/bin/passwd "${ED%/}"/bin/ || die dosym ../../bin/passwd /usr/bin/passwd |