From a629f667db3c51c765e92553afc39abf353bf1be Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Jul 2015 14:16:07 +0200 Subject: checkpkgist: refresh --- get | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'get') diff --git a/get b/get index b5ecf46..ab432b8 100755 --- a/get +++ b/get @@ -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 -- cgit