summaryrefslogtreecommitdiffstats
path: root/checkpkgist/get
blob: c2ed34a94be618c0ab86d62cc8b058fe4a3d9d98 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

mv rpmphp.json.prev /tmp
if wget 'http://rpms.famillecollet.com/rpmphp/get.php?table=packagist2' -O rpmphp.json.new
then
  mv rpmphp.json     rpmphp.json.prev && \
  mv rpmphp.json.new rpmphp.json      && \
  echo done
  colordiff rpmphp.json.prev rpmphp.json
fi