summaryrefslogtreecommitdiffstats
path: root/alsa-utils/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-30 20:30:09 +0100
committerpiernov <piernov@piernov.org>2012-05-13 16:22:07 +0200
commitf87ee68c2ef363fbea47eaf0447bee908e5358ac (patch)
tree691a4c416bce4680bb69fe0ca241b184b2b2b440 /alsa-utils/post-install
parenta0872260c949d610fb85fb8c892b1b7df7196fcf (diff)
downloadnutyx-extra-f87ee68c2ef363fbea47eaf0447bee908e5358ac.tar.gz
nutyx-extra-f87ee68c2ef363fbea47eaf0447bee908e5358ac.tar.bz2
nutyx-extra-f87ee68c2ef363fbea47eaf0447bee908e5358ac.tar.xz
nutyx-extra-f87ee68c2ef363fbea47eaf0447bee908e5358ac.zip
alsa-utils 1.0.25-1 màj port
(cherry picked from commit 0e9c3ed58bc5e0194b511d0a6be5d9b06a4604bd)
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