summaryrefslogtreecommitdiffstats
path: root/checkpkgist/get
diff options
context:
space:
mode:
Diffstat (limited to 'checkpkgist/get')
-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