[packages/google-chrome] Update from what to what.
arekm
arekm at pld-linux.org
Wed Nov 13 10:29:12 CET 2013
commit f40c49097a63bb55e642caf6bf029a814cca7f7e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Nov 13 10:29:09 2013 +0100
Update from what to what.
update-source.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/update-source.sh b/update-source.sh
index bf75c5a..f44921d 100755
--- a/update-source.sh
+++ b/update-source.sh
@@ -68,11 +68,11 @@ oldrev=$(awk '/^%define[ ]+svnrev[ ]+/{print $NF}' $specfile)
oldver=$(awk '/^Version:[ \t]+/{print $NF; exit}' $specfile)
oldflash=$(awk '/^%define[ ]+flashv[ ]+/{print $NF}' $specfile)
if [ "$oldrev" = "$rev" -a "$oldver" = "$ver" -a "$oldflash" = "$flashv" ]; then
- echo "Already up to date"
+ echo "Already up to date (google-chrome/$ver-$rev flash/$flashv)"
exit 0
fi
-echo "Updating $specfile for google-chrome/$ver-$rev, flash/$flashv"
+echo "Updating $specfile for google-chrome/$oldver-$oldrev -> $ver-$rev, flash/$oldflash -> $flashv"
sed -i -e "
s/^\(%define[ \t]\+svnrev[ \t]\+\)[0-9]\+\$/\1$rev/
s/^\(%define[ \t]\+state[ \t]\+\)[a-z]\+\$/\1$branch/
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/google-chrome.git/commitdiff/f40c49097a63bb55e642caf6bf029a814cca7f7e
More information about the pld-cvs-commit
mailing list