[packages/google-chrome] fix updating flash version

glen glen at pld-linux.org
Sat Sep 14 10:49:16 CEST 2013


commit 799bab31100acc37d1e15a174a800e6584f73c0e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 14 11:49:05 2013 +0300

    fix updating flash version

 update-source.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/update-source.sh b/update-source.sh
index 5e045ad..50c38fa 100755
--- a/update-source.sh
+++ b/update-source.sh
@@ -62,7 +62,7 @@ if [ "$oldrev" != "$rev" -o "$oldflash" != "$flashv" ]; then
 	sed -i -e "
 		s/^\(%define[ \t]\+svnrev[ \t]\+\)[0-9]\+\$/\1$rev/
 		s/^\(%define[ \t]\+state[ \t]\+\)[a-z]\+\$/\1$branch/
-		s/^\(%define[ \t]\+flashv[ \t]\+\)[a-z]\+\$/\1$flashv/
+		s/^\(%define[ \t]\+flashv[ \t]\+\)[0-9.]\+\$/\1$flashv/
 		s/^\(Version:[ \t]\+\)[.0-9]\+\$/\1$ver/
 	" $specfile
 	../builder -ncs -g $specfile || :
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/google-chrome.git/commitdiff/799bab31100acc37d1e15a174a800e6584f73c0e



More information about the pld-cvs-commit mailing list