From 3b86127cfe9db0d422549ed3e014b4fb1736069c Mon Sep 17 00:00:00 2001 From: Joseph Graham Date: Mon, 12 Jun 2017 10:42:21 +0100 Subject: Made it retry to move the torrent for longer. --- pacman2pacman-get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pacman2pacman-get') 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 -- cgit v1.2.2