]> git.pld-linux.org Git - packages/alsa-utils.git/blobdiff - alsa-utils.spec
- move asound.state only if it exists
[packages/alsa-utils.git] / 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.029202 seconds and 4 git commands to generate.