diff options
Diffstat (limited to 'sys-kernel/dracut')
-rw-r--r-- | sys-kernel/dracut/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-105-r1.ebuild | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/sys-kernel/dracut/Manifest b/sys-kernel/dracut/Manifest index e05c55ed794b..d01fe5d2700c 100644 --- a/sys-kernel/dracut/Manifest +++ b/sys-kernel/dracut/Manifest @@ -13,6 +13,6 @@ DIST dracut-105.tar.gz 575857 BLAKE2B 93463e3d1649e6e68accbb4f2480af471e851a5418 EBUILD dracut-060_pre20240104-r4.ebuild 4582 BLAKE2B 2e90c9669b95ccbdc38a3bedd131010d2f2fbf04a01a328e3579f0f5b34ef33d1fa4849c088440930c11b1b67c69ba543156a74d4499c0ab47741ef2b7666f49 SHA512 aaa83faf86aa3ac1be70cace1ffbe906508c935b8cc9928e59c1ea841d4846f5f6d78167cdd0b3c804aa0ca2b788606ff226bebec94c3e8747910d3b4949d307 EBUILD dracut-103-r2.ebuild 4693 BLAKE2B 739ea0296e64867ea756d0062e20b6a475e8a70e76b0f306930d35ab42857c83936e90463e01cde10bf255c439442b3309b12dba826f0fe6ce9b9faa909c386e SHA512 5d75977e66c881f067ce86ef52adc3acfe563f17d7bd1ef3887b6c23b9dcbd727b550f1dc4f1cd5352dcd7663d0b863625a4163e1cf2fd5727b42daeb450655e EBUILD dracut-103-r4.ebuild 6183 BLAKE2B d95d7f9b5f2f3c6abba94f647cc18c7bc2c752e16a348d78115008fac8251b3e4abca295e965045d15cbadaeb855f5a9bbf7d8ac8502ea151ab2df96b31049f5 SHA512 abaf01ca4ca3f5cae79a4c36ada95dc085ab9806ac03231561a77629e83b003b3540153ef93e39f0b57da605737193519e6a03abf238774a8913545997d7fa96 -EBUILD dracut-105-r1.ebuild 6505 BLAKE2B a4ed663d952f73b614f63d376ca22bc3332536d38a22e00afe538f99c1758f55d0e1eba4ec30fc1d335c8e0f6ee543c45218222f893fe268cc8c26a7bf8d1d61 SHA512 2bcbbc88a4cf827e344e58a77fd6d201bd5cefdcce1b6218b6a1c0f2d50851feee4e3302be25f1f80a695a495976cfc41655caec6a073d905576873d8e754eae +EBUILD dracut-105-r1.ebuild 6586 BLAKE2B a9ad67355b32f698f563aa6bbae1880bd2b2c64de22da9a4d07d06488f77cddeee7a51bd389b351e4fc2ab4e5c19d615e2cbf1ccd827ae96ca9b1071e7e44df5 SHA512 37f33702aabf84a18f9596e42ca222a0f385007c9f182913a369a1b020b6c7d3a00e270baf127c5bca4477d52e4117652394e3eb94c3ac1ea0fb42cbaf3aae52 EBUILD dracut-9999.ebuild 5989 BLAKE2B f43ffa2760d3bb523bf36002255d5f49f280c177140a16becbd61b73c4181e1fb15f56f843e34369978d3345297a0625169be935fe0759f86bc9ab6074675a0e SHA512 9edec1f4c46a95f0d4b1947b99c587ea5d4ab64bba4cad9a25c82b1f8ae8ca218adb0e17d3c7f663c7d6ef9f6d39b5958b0b66db33fd697d90ac87bf7b8f3db7 MISC metadata.xml 572 BLAKE2B a1f308c046673cc7acfc4c74cb78b8fd24527241eec46193004ac64fdd17f325eab761b19fdd5428071f4db6e7c1cc27ccaedd89a2724adc6226dd7e96f3714f SHA512 651ea5de77053dbb2b172e3f2a8d8e2d57957bfb726ef78801091f9f1c7c03fde9fe086cd28e94e2e6102b9a2e99f32cb84a6150b4f6b2b6a9cadae3856bad29 diff --git a/sys-kernel/dracut/dracut-105-r1.ebuild b/sys-kernel/dracut/dracut-105-r1.ebuild index 19082b840ad0..70692cd367a4 100644 --- a/sys-kernel/dracut/dracut-105-r1.ebuild +++ b/sys-kernel/dracut/dracut-105-r1.ebuild @@ -158,17 +158,19 @@ src_install() { pkg_preinst() { # Remove directory/symlink conflicts # https://bugs.gentoo.org/943007 - local module backup + local save_nullglob=$(shopt -p nullglob) + shopt -s nullglob + local module for module in "${EROOT}"/usr/lib/dracut/modules.d/{80test,80test-makeroot,80test-root}; do if [[ ! -L ${module} && -d ${module} ]]; then rm -rv "${module}" || die fi - for backup in "${module}".backup.*; do - if [[ -L ${backup} ]]; then - rm -v "${backup}" || die - fi - done + local backups=( "${module}".backup.* ) + if [[ ${#backups[@]} -gt 0 ]]; then + rm -v "${backups[@]}" || die + fi done + eval "${save_nullglob}" } pkg_postinst() { |