summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Graham <joseph@xylon.me.uk>2017-06-12 10:42:21 +0100
committerJoseph Graham <joseph@xylon.me.uk>2017-06-12 10:42:21 +0100
commit3b86127cfe9db0d422549ed3e014b4fb1736069c (patch)
treed6f897745f558c27c3c7f0f1c5ce7cd429a10b23
parent110fc17388cecc0c6b9b9a7d1b3f752969b84f6a (diff)
Made it retry to move the torrent for longer.
-rw-r--r--pacman2pacman-get2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman2pacman-get b/pacman2pacman-get
index 265863b..fbc1476 100644
--- a/pacman2pacman-get
+++ b/pacman2pacman-get
@@ -285,7 +285,7 @@ then
err_count=0
until mv -f "${pkg_cache_location}/${url##*/}" "${filename}" 2>/dev/null
do
- if (( err_count > 50 ))
+ if (( err_count > 100 ))
then
echo $"error moving \"${pkg_cache_location}/${url##*/}\". removing torrent from transmission"
transmission-remote -t "${id}" -r > /dev/null