]> git.pld-linux.org Git - packages/alsa-utils.git/commitdiff
- move asound.state only if it exists
authorJan Palus <jan.palus@gmail.com>
Thu, 3 Feb 2011 18:43:03 +0000 (18:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 3

Changed files:
    alsa-utils.spec -> 1.172

alsa-utils.spec

index fca3cb1ecbdf4dad37fb0cf19c47098bfec44ab8..8b7262208b4d3b97ab84f2914cbc57c3cde9456b 100644 (file)
@@ -6,7 +6,7 @@ Summary(ru.UTF-8):      Утилиты командной строки для ALSA pr
 Summary(uk.UTF-8):     Утиліти командного рядка для ALSA project
 Name:          alsa-utils
 Version:       1.0.24.2
-Release:       2
+Release:       3
 # some apps GPL v2, some GPL v2+
 License:       GPL v2
 Group:         Applications/Sound
@@ -176,7 +176,9 @@ fi
 
 %triggerpostun -- %{name} < 1.0.24.2-2
 install -d /var/lib/alsa
-mv -f /etc/asound.state /var/lib/alsa/asound.state
+if [ -f /etc/asound.state ]; then
+       mv -f /etc/asound.state /var/lib/alsa/asound.state
+fi
 
 %files -f alsa-utils.lang
 %defattr(644,root,root,755)
This page took 0.058176 seconds and 4 git commands to generate.