commit:     d9b1e844828b2828cfb996b7db5518eab8a8581c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 15:28:01 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 15:28:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b1e844

media-sound/alsa-utils: Commit the updated ebuild

That was meant to be -r1

Closes: https://bugs.gentoo.org/888139
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../{alsa-utils-1.2.8-r1.ebuild => alsa-utils-1.2.8-r2.ebuild}     | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild 
b/media-sound/alsa-utils/alsa-utils-1.2.8-r2.ebuild
similarity index 95%
rename from media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild
rename to media-sound/alsa-utils/alsa-utils-1.2.8-r2.ebuild
index 99651ae43b13..4405067a27fa 100644
--- a/media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild
+++ b/media-sound/alsa-utils/alsa-utils-1.2.8-r2.ebuild
@@ -60,21 +60,20 @@ src_install() {
        newinitd "${FILESDIR}"/alsasound.initd-r8 alsasound
        newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
 
-       insinto /etc/modprobe.d
-       newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
-
        keepdir /var/lib/alsa
 
        # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
        # scan directory /usr/share/alsa/ucm: No such file or directory
        # alsaucm: unable to obtain card list: No such file or directory
        keepdir /usr/share/alsa/ucm
+
+       find "${ED}" -type f -name '*.la' -delete || die
 }
 
 pkg_postinst() {
        udev_reload
 
-       if [[ -z ${REPLACING_VERSIONS} ]]; then
+       if [[ -z ${REPLACING_VERSIONS} ]] && ! systemd_is_booted ; then
                elog
                elog "To take advantage of the init script, and automate the 
process of"
                elog "saving and restoring sound-card mixer levels you should"

Reply via email to