summaryrefslogtreecommitdiffstats
path: root/checkpkgist/get
blob: ab432b87615e4a016aeb7bae17e3d34946af37d0 (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=packagist' -O rpmphp.json.new
then
  cp rpmphp.json     rpmphp.json.prev && \
  cp rpmphp.json.new rpmphp.json      && \
  echo done
  colordiff rpmphp.json.prev rpmphp.json
fi