]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
- update repodata if createrepo present
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 18 Feb 2011 23:28:10 +0000 (23:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    update-source.sh -> 1.18

update-source.sh

index dbc79b0a14aab0101379308cdac71ad2fc3379ee..16dbdda38520fb0409319493118b87b735d3cfdb 100644 (file)
@@ -110,6 +110,11 @@ if [ "$newtar" != "$tarball" ]; then
                        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
This page took 0.048952 seconds and 4 git commands to generate.