summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2022-12-24 16:28:01 +0100
committerPacho Ramos <pacho@gentoo.org>2022-12-24 16:28:01 +0100
commitd9b1e844828b2828cfb996b7db5518eab8a8581c (patch)
tree74906c34cf3977435174b7329b1a5cbb9eb9c821 /media-sound/alsa-utils
parentdev-ruby/tins: add 1.32.1 (diff)
downloadgentoo-d9b1e844828b2828cfb996b7db5518eab8a8581c.tar.gz
gentoo-d9b1e844828b2828cfb996b7db5518eab8a8581c.tar.bz2
gentoo-d9b1e844828b2828cfb996b7db5518eab8a8581c.zip
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@gentoo.org>
Diffstat (limited to 'media-sound/alsa-utils')
-rw-r--r--media-sound/alsa-utils/alsa-utils-1.2.8-r2.ebuild (renamed from media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild)7
1 files 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
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"