packages: chromium-browser/update-source.sh - update repodata if createrepo...

glen glen at pld-linux.org
Sat Feb 19 00:28:16 CET 2011


Author: glen                         Date: Fri Feb 18 23:28:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update repodata if createrepo present

---- Files affected:
packages/chromium-browser:
   update-source.sh (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/chromium-browser/update-source.sh
diff -u packages/chromium-browser/update-source.sh:1.17 packages/chromium-browser/update-source.sh:1.18
--- packages/chromium-browser/update-source.sh:1.17	Tue Feb  1 23:08:50 2011
+++ packages/chromium-browser/update-source.sh	Sat Feb 19 00:28:10 2011
@@ -110,6 +110,11 @@
 			chmod 644 $rpmdir/*.rpm
 			mv -v $rpmdir/*.rpm $rpmdest/
 			poldek --cachedir=$HOME/tmp --mkidx -s $rpmdest/ --mt=pndir
+
+			if [ -x /usr/bin/createrepo ]; then
+				install -d $rpmdest/repodata/cache
+				createrepo -q -c $rpmdest/repodata/cache $rpmdest
+			fi
 		fi
 	fi
 else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chromium-browser/update-source.sh?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list