summaryrefslogtreecommitdiffstats
path: root/checkpkgist
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-08-25 08:13:14 +0200
committerRemi Collet <fedora@famillecollet.com>2015-08-25 08:13:14 +0200
commit1095bea6732b3cef2e152cc58987e74de9b7954d (patch)
tree5510ac838224fb573d4a3b225ee4abec4abb5e1d /checkpkgist
parent30e832e46d30b61f66baf5ea1d42cc87c6e7c979 (diff)
checkpkgist: cleanup
Diffstat (limited to 'checkpkgist')
-rwxr-xr-xcheckpkgist/get4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkpkgist/get b/checkpkgist/get
index ab432b8..8c3eab5 100755
--- a/checkpkgist/get
+++ b/checkpkgist/get
@@ -3,8 +3,8 @@
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 && \
+ mv rpmphp.json rpmphp.json.prev && \
+ mv rpmphp.json.new rpmphp.json && \
echo done
colordiff rpmphp.json.prev rpmphp.json
fi \ No newline at end of file