summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-10-24 21:22:04 +0000
committerEric Hameleers <alien@slackware.com>2018-10-25 09:00:34 +0200
commitb80b3b22ebdcaa6151d82e43a56144b97a90d4fe (patch)
treece97b7ad35e97c80766c10c006770c429d67597f /extra
parent4a2513fad6f2f6b57cb7009620ab2e9ddf13ab9d (diff)
downloadcurrent-b80b3b22ebdcaa6151d82e43a56144b97a90d4fe.tar.gz
Wed Oct 24 21:22:04 UTC 201820181024212204
d/strace-20181024_43700247-x86_64-1.txz: Upgraded. l/alsa-plugins-1.1.7-x86_64-4.txz: Rebuilt. Applied upstream fix for double free. Thanks to Jean-Philippe Guillemin. n/httpd-2.4.37-x86_64-1.txz: Upgraded. n/mcabber-1.1.0-x86_64-1.txz: Upgraded. x/libepoxy-1.5.3-x86_64-1.txz: Upgraded. xap/pan-0.145-x86_64-1.txz: Upgraded. extra/pure-alsa-system/alsa-plugins-1.1.7-x86_64-4_alsa.txz: Rebuilt. Applied upstream fix for double free. Thanks to Jean-Philippe Guillemin.
Diffstat (limited to 'extra')
-rwxr-xr-xextra/pure-alsa-system/README7
-rwxr-xr-xextra/pure-alsa-system/revert-to-using-pulseaudio.sh5
2 files changed, 10 insertions, 2 deletions
diff --git a/extra/pure-alsa-system/README b/extra/pure-alsa-system/README
index fe703ee8..dbd7618d 100755
--- a/extra/pure-alsa-system/README
+++ b/extra/pure-alsa-system/README
@@ -13,7 +13,12 @@ upgradepkg --install-new --terse *.txz
# Move the new asound.conf into place:
-mv /etc/asound.conf.new /etc/asound.conf
+echo "Moving /etc/asound.conf.new to /etc/asound.conf:"
+mv --verbose /etc/asound.conf.new /etc/asound.conf
+
+# Make rc.alsa executable so that volume is properly restored:
+echo "Making /etc/rc.d/rc.alsa executable."
+chmod 755 /etc/rc.d/rc.alsa
# You may need to reboot at this point to make sure there are no running
# PulseAudio processes, or any binaries still mapping the PulseAudio libraries.
diff --git a/extra/pure-alsa-system/revert-to-using-pulseaudio.sh b/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
index a15acc67..2bbf22f7 100755
--- a/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
+++ b/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
@@ -10,5 +10,8 @@ for package in MPlayer alsa-lib alsa-plugins audacious-plugins ffmpeg \
libcanberra mpg123 phonon sox xine-lib ; do
upgradepkg --install-new --terse ../../slackware*/*/${package}-*.txz
done
-mv /etc/asound.conf.new /etc/asound.conf
+echo "Moving /etc/asound.conf.new to /etc/asound.conf:"
+mv --verbose /etc/asound.conf.new /etc/asound.conf
+echo "Making /etc/rc.d/rc.alsa non-executable."
+chmod 644 /etc/rc.d/rc.alsa
echo "System is converted back to using Pulseaudio."