tazpkg diff modules/get @ rev 944

modules/summary: fix $((arithmetic))
Busybox ash vs. Bash problem?
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 22 04:05:32 2017 +0200 (2017-02-22)
parents bc02a72abd85
children dbf40347342a
line diff
     1.1 --- a/modules/get	Fri Feb 10 00:44:26 2017 +0200
     1.2 +++ b/modules/get	Wed Feb 22 04:05:32 2017 +0200
     1.3 @@ -384,7 +384,7 @@
     1.4  	if [ -f "$namever.tazpkg" ]; then
     1.5  		[ -z "$nocache" -a -z "$quiet" ] && _ 'Package "%s" already in the cache' "$namever" >&2
     1.6  
     1.7 -		# Check if downloading complete, resume it not complete
     1.8 +		# Check if downloading complete, resume if not complete
     1.9  		if ! tail -c 2k "$namever.tazpkg" | fgrep -q '00000000TRAILER'; then
    1.10  			[ -z "$quiet" ] && _ 'Continuing package "%s" download' "$namever" >&2
    1.11  			download_from "$(cat "$rep/mirror")" "$namever.tazpkg"