Check-in [a7062dc5a4]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:agrega complemento de descarga continue_full
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a7062dc5a46fde146cd9995df469e96e9e8a40b8
User & Date: suse 2016-05-07 05:22:25
Context
2016-05-07
17:39
continue_full no garantizaba que al terminar el repo esta de hecho completo check-in: 6ba0a05252 user: suse tags: trunk
05:22
agrega complemento de descarga continue_full check-in: a7062dc5a4 user: suse tags: trunk
05:05
detecta complemento de descarga invalido check-in: 8660004ee4 user: suse tags: trunk
Changes

Changes to sync_void.

408
409
410
411
412
413
414


415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431

432
433
434
435
436
437
438
439
		-p|-P) rm -f xbps.last;;
		-s|-S) rm -f sig.last;;
		esac
	}
	if [ "$2" = full ]; then
		$0 -L && clear_last
		progress() { echo -en "  $1% <full>\r"; }


	elif [ "$2" = 0 ]; then
		clear_last
	elif [ "${#2}" != 0 ]; then
		error "complemento de descarga invalido. Se permite: 0 y full."
	else
		progress() { echo -en "  $1%\r"; }
	fi

	case "$1" in
        -d) bulk_download list 'isaccepted $f && readignores' all.last progress;;
        -D) bulk_download list 'isaccepted $f && rm -f "$f.sum" && readignores' all.last progress;;
        -p) bulk_download list 'endswith $f xbps && isaccepted $f && readignores' xbps.last progress;;
        -P) bulk_download list 'endswith $f xbps && isaccepted $f && rm -f "$f.sum" && readignores' xbps.last progress;;
        -s) bulk_download list 'endswith $f sig && isaccepted $f && readignores' sig.last progress;;
        -S) bulk_download list 'endswith $f sig && isaccepted $f && rm -f "$f" && readignores' sig.last progress;;
	esac
	[[ "$2" = full && $? != 0 ]] && exec $0 $1 $2

	;;
-o)
	overview
	;;
*)
	$0 -h
	;;
esac







>
>



|













>








408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
		-p|-P) rm -f xbps.last;;
		-s|-S) rm -f sig.last;;
		esac
	}
	if [ "$2" = full ]; then
		$0 -L && clear_last
		progress() { echo -en "  $1% <full>\r"; }
	elif [ "$2" = continue_full ]; then
		progress() { echo -en "  $1% <continue_full>\r"; }
	elif [ "$2" = 0 ]; then
		clear_last
	elif [ "${#2}" != 0 ]; then
		error "complemento de descarga invalido. Se permite: 0, full y continue_full."
	else
		progress() { echo -en "  $1%\r"; }
	fi

	case "$1" in
        -d) bulk_download list 'isaccepted $f && readignores' all.last progress;;
        -D) bulk_download list 'isaccepted $f && rm -f "$f.sum" && readignores' all.last progress;;
        -p) bulk_download list 'endswith $f xbps && isaccepted $f && readignores' xbps.last progress;;
        -P) bulk_download list 'endswith $f xbps && isaccepted $f && rm -f "$f.sum" && readignores' xbps.last progress;;
        -s) bulk_download list 'endswith $f sig && isaccepted $f && readignores' sig.last progress;;
        -S) bulk_download list 'endswith $f sig && isaccepted $f && rm -f "$f" && readignores' sig.last progress;;
	esac
	[[ "$2" = full && $? != 0 ]] && exec $0 $1 $2
	[[ "$2" = continue_full && $? != 0 ]] && exec $0 $1 full
	;;
-o)
	overview
	;;
*)
	$0 -h
	;;
esac