diff options
author | Matt Whitlock <gentoo@mattwhitlock.name> | 2022-12-29 23:21:28 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-12-30 15:02:02 -0500 |
commit | 5e86ab002036c49c873e8b3a3827c9d125d5e69c (patch) | |
tree | 1e299c6d9189467856bd91e9f774a0cf05d3ef33 /sys-libs/ncurses | |
parent | www-plugins/chrome-binary-plugins: automated update (109.0.5414.61_beta) (diff) | |
download | gentoo-5e86ab002036c49c873e8b3a3827c9d125d5e69c.tar.gz gentoo-5e86ab002036c49c873e8b3a3827c9d125d5e69c.tar.bz2 gentoo-5e86ab002036c49c873e8b3a3827c9d125d5e69c.zip |
sys-libs/ncurses: don't install dangling symlinks
Signed-off-by: Matt Whitlock <gentoo@mattwhitlock.name>
Closes: https://github.com/gentoo/gentoo/pull/28899
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-libs/ncurses')
4 files changed, 4 insertions, 4 deletions
diff --git a/sys-libs/ncurses/ncurses-6.3_p20220924-r10.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220924-r10.ebuild index 6f5ac7abdbc6..c506847fb1a2 100644 --- a/sys-libs/ncurses/ncurses-6.3_p20220924-r10.ebuild +++ b/sys-libs/ncurses/ncurses-6.3_p20220924-r10.ebuild @@ -453,7 +453,7 @@ multilib_src_install_all() { elif use minimal ; then # Keep only the basic terminfo files find "${ED}"/usr/share/terminfo/ \ - -type f ${terms[*]/#/! -name } -delete , \ + \( -type f -o -type l \) ${terms[*]/#/! -name } -delete , \ -type d -empty -delete || die fi diff --git a/sys-libs/ncurses/ncurses-6.3_p20220924-r2.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220924-r2.ebuild index 0f602578429d..22d5938e58da 100644 --- a/sys-libs/ncurses/ncurses-6.3_p20220924-r2.ebuild +++ b/sys-libs/ncurses/ncurses-6.3_p20220924-r2.ebuild @@ -451,7 +451,7 @@ multilib_src_install_all() { elif use minimal ; then # Keep only the basic terminfo files find "${ED}"/usr/share/terminfo/ \ - -type f ${terms[*]/#/! -name } -delete , \ + \( -type f -o -type l \) ${terms[*]/#/! -name } -delete , \ -type d -empty -delete || die fi diff --git a/sys-libs/ncurses/ncurses-6.3_p20221203-r1.ebuild b/sys-libs/ncurses/ncurses-6.3_p20221203-r1.ebuild index a6358a7b4821..12ed888df557 100644 --- a/sys-libs/ncurses/ncurses-6.3_p20221203-r1.ebuild +++ b/sys-libs/ncurses/ncurses-6.3_p20221203-r1.ebuild @@ -465,7 +465,7 @@ multilib_src_install_all() { elif use minimal ; then # Keep only the basic terminfo files find "${ED}"/usr/share/terminfo/ \ - -type f ${terms[*]/#/! -name } -delete , \ + \( -type f -o -type l \) ${terms[*]/#/! -name } -delete , \ -type d -empty -delete || die fi diff --git a/sys-libs/ncurses/ncurses-6.3_p20221203.ebuild b/sys-libs/ncurses/ncurses-6.3_p20221203.ebuild index 102e2c4b61db..35c1a3c89826 100644 --- a/sys-libs/ncurses/ncurses-6.3_p20221203.ebuild +++ b/sys-libs/ncurses/ncurses-6.3_p20221203.ebuild @@ -463,7 +463,7 @@ multilib_src_install_all() { elif use minimal ; then # Keep only the basic terminfo files find "${ED}"/usr/share/terminfo/ \ - -type f ${terms[*]/#/! -name } -delete , \ + \( -type f -o -type l \) ${terms[*]/#/! -name } -delete , \ -type d -empty -delete || die fi |