summaryrefslogtreecommitdiffstats
path: root/get
diff options
context:
space:
mode:
Diffstat (limited to 'get')
-rwxr-xr-xget4
1 files changed, 2 insertions, 2 deletions
diff --git a/get b/get
index ab432b8..8c3eab5 100755
--- a/get
+++ b/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