packages: alsa-utils/alsa-utils.spec - move asound.state only if it exists ...

atler atler at pld-linux.org
Thu Feb 3 19:43:08 CET 2011


Author: atler                        Date: Thu Feb  3 18:43:08 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- move asound.state only if it exists
- rel 3

---- Files affected:
packages/alsa-utils:
   alsa-utils.spec (1.171 -> 1.172) 

---- Diffs:

================================================================
Index: packages/alsa-utils/alsa-utils.spec
diff -u packages/alsa-utils/alsa-utils.spec:1.171 packages/alsa-utils/alsa-utils.spec:1.172
--- packages/alsa-utils/alsa-utils.spec:1.171	Wed Feb  2 18:39:00 2011
+++ packages/alsa-utils/alsa-utils.spec	Thu Feb  3 19:43:03 2011
@@ -7,7 +7,7 @@
 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
@@ -177,7 +177,9 @@
 
 %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)
@@ -240,6 +242,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.172  2011/02/03 18:43:03  atler
+- move asound.state only if it exists
+- rel 3
+
 Revision 1.171  2011/02/02 17:39:00  qboosh
 - use __rm macro for arecord.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/alsa-utils/alsa-utils.spec?r1=1.171&r2=1.172&f=u



More information about the pld-cvs-commit mailing list