[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 860aa318160e15f00fe985e4dc95aa1909716f5b
Darren Salt
linux at youmustbejoking.demon.co.uk
Wed Feb 25 16:24:58 UTC 2009
The following commit has been merged in the master branch:
commit 860aa318160e15f00fe985e4dc95aa1909716f5b
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date: Wed Feb 25 16:23:31 2009 +0000
Quote strings to be written to the sound controls cache to preserve line feeds.
diff --git a/etc/alsa/modprobe-post-install.d/eeepc-acpi-scripts b/etc/alsa/modprobe-post-install.d/eeepc-acpi-scripts
index eaf3fe8..65380b4 100644
--- a/etc/alsa/modprobe-post-install.d/eeepc-acpi-scripts
+++ b/etc/alsa/modprobe-post-install.d/eeepc-acpi-scripts
@@ -11,10 +11,10 @@ SOUND_VARS="$(
echo '# Sourced by files in eeepc-acpi-scripts'
echo '# This is a generated file; modifications will be overwritten'
echo AMIXER=\'$(echo "$AMIXER" | sed -e "s/'/'\\''/g")\'
-echo DEF_SOUND_LABEL=\'$(echo "$SOUND_LABEL" | sed -e "s/'/'\\''/g")\'
-echo DEF_SOUND_SWITCH=\'$(echo "$SOUND_SWITCH" | sed -e "s/'/'\\''/g")\'
-echo DEF_SOUND_SWITCH_EXCLUSIVE=\'$(echo "$SOUND_SWITCH_EXCLUSIVE" | sed -e "s/'/'\\''/g")\'
-echo DEF_SOUND_VOLUME_STEP=\'$(echo "$SOUND_VOLUME_STEP" | sed -e "s/'/'\\''/g")\'
+echo DEF_SOUND_LABEL=\'"$(echo "$SOUND_LABEL" | sed -e "s/'/'\\''/g")"\'
+echo DEF_SOUND_SWITCH=\'"$(echo "$SOUND_SWITCH" | sed -e "s/'/'\\''/g")"\'
+echo DEF_SOUND_SWITCH_EXCLUSIVE=\'"$(echo "$SOUND_SWITCH_EXCLUSIVE" | sed -e "s/'/'\\''/g")"\'
+echo DEF_SOUND_VOLUME_STEP=\'"$(echo "$SOUND_VOLUME_STEP" | sed -e "s/'/'\\''/g")"\'
)"
echo "$SOUND_VARS" | {
test -f "$SOUND_FILE" && cmp -s - "$SOUND_FILE" || echo "$SOUND_VARS" >"$SOUND_FILE"
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list