summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Graham <joseph@fibreglass.tunachunks>2014-05-05 20:47:19 +0100
committerJoseph Graham <joseph@fibreglass.tunachunks>2014-05-05 20:47:19 +0100
commit10b63588e09bb4d3862dadf85017884f3aee785c (patch)
tree8a45f1a4135f0adc6d30539122af128202def8d6
parent8ca107b03ac6f124ec93bf35d1fd81ec95ac9a28 (diff)
Made it not leave .part files
-rw-r--r--pacman2pacman-get4
1 files changed, 2 insertions, 2 deletions
diff --git a/pacman2pacman-get b/pacman2pacman-get
index 2b49adf..81c0c5b 100644
--- a/pacman2pacman-get
+++ b/pacman2pacman-get
@@ -1,7 +1,7 @@
#! /bin/bash
# /usr/bin/pacman2pacman-get
#
-# Version 1.1
+# Version 1.2
#
# Copyright (C) 2014 Joseph Graham <joseph@t67.eu>
#
@@ -103,7 +103,7 @@ then
echo
- ln -f "${pkg_cache_location}/${url##*/}" "${filename}" || exit 1
+ mv -f "${pkg_cache_location}/${url##*/}" "${filename}" || exit 1
else
# There's no .torrent so we download it by just HTTP.