Check-in [f694d06b73]

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

Overview
Comment:corrige que no se descarga nada si fichero ignore no existe. complemento de descarga 0 no define progress.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f694d06b73941853a3a4858a760b6bd97bcd6d94
User & Date: suse 2016-05-17 19:30:35
Context
2017-09-11
15:03
realiza descarga particionada para mayor velocidad de bajada check-in: bfae7d26bb user: developer tags: trunk
2016-05-17
19:30
corrige que no se descarga nada si fichero ignore no existe. complemento de descarga 0 no define progress. check-in: f694d06b73 user: suse tags: trunk
2016-05-15
16:17
mejora la ayuda check-in: ffbb1faccd user: suse tags: trunk
Changes

Changes to sync_void.

307
308
309
310
311
312
313

314

315
316
317
318
319
320
321
...
424
425
426
427
428
429
430

431
432
433
434
435
436
437
		done
		return 2
	fi
	echo
}

readignores() {

	[ -f ignore ] && _ignores=`cat ignore`

}

isaccepted() {
	[ "$_ignores" ] &&
		echo "$1" | egrep -q "($_ignores)" && return 1
	return 0
}
................................................................................
	if [ "$2" = full ]; then
		$0 -L && clear_last
		progress() { echo -en "  $1% <full>\r"; }
	elif [ "$2" = continuefull ]; then
		progress() { echo -en "  $1% <continuefull>\r"; }
	elif [ "$2" = 0 ]; then
		clear_last

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

	case "$1" in







>
|
>







 







>







307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
...
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
		done
		return 2
	fi
	echo
}

readignores() {
	if [ -f ignore ]; then
		_ignores=`cat ignore`
	fi
}

isaccepted() {
	[ "$_ignores" ] &&
		echo "$1" | egrep -q "($_ignores)" && return 1
	return 0
}
................................................................................
	if [ "$2" = full ]; then
		$0 -L && clear_last
		progress() { echo -en "  $1% <full>\r"; }
	elif [ "$2" = continuefull ]; then
		progress() { echo -en "  $1% <continuefull>\r"; }
	elif [ "$2" = 0 ]; then
		clear_last
		progress() { echo -en "  $1%\r"; }
	elif [ "${#2}" != 0 ]; then
		error "complemento de descarga invalido. Se permite: 0, full y continuefull."
	else
		progress() { echo -en "  $1%\r"; }
	fi

	case "$1" in