diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-07-29 14:16:07 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-07-29 14:16:07 +0200 |
commit | a629f667db3c51c765e92553afc39abf353bf1be (patch) | |
tree | ee730e2ef991e0aae81213585c9b867bacf4976f /get | |
parent | 3798ba97f971007f08cd2ffa792eef201f2e3662 (diff) |
checkpkgist: refresh
Diffstat (limited to 'get')
-rwxr-xr-x | get | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ #!/bin/sh -wget 'http://rpms.famillecollet.com/rpmphp/get.php?table=packagist' -O rpmphp.json +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
\ No newline at end of file |