summaryrefslogtreecommitdiffstats
path: root/alsa-utils/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-utils/post-install')
-rw-r--r--alsa-utils/post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/alsa-utils/post-install b/alsa-utils/post-install
new file mode 100644
index 000000000..b2b832e84
--- /dev/null
+++ b/alsa-utils/post-install
@@ -0,0 +1,6 @@
+if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then
+ mv /etc/alsa/asound.state /etc/asound.state
+fi
+if [ -s /etc/asound.state -a ! -s /var/lib/alsa/asound.state ] ; then
+ mv /etc/asound.state /var/lib/alsa/asound.state
+fi