Check-in [28d6f471de]

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

Overview
Comment:opcion p al interrumpir descarga
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:28d6f471ded383f55e98447dde3a65e729763a7e
User & Date: suse 2016-05-15 12:10:55
Context
2016-05-15
12:22
al interrumpir no permite opciones invalidas check-in: fb2c190d20 user: suse tags: trunk
12:10
opcion p al interrumpir descarga check-in: 28d6f471de user: suse tags: trunk
2016-05-14
05:42
renombra complemento continue_full a continuefull check-in: ae878bbf19 user: suse tags: trunk
Changes

Changes to sync_void.

265
266
267
268
269
270
271

272
273
274
275




276
277
278
279
280
281
282
	if aria2c --summary-interval=0 -c "$CURRENT/$1"; then
		if endswith $1 xbps && xz -qqt $1; then
			md5sum $1 | cut -d" " -f1 > "$1.sum"
			return 0
		fi
		return 3
	else

		log "descarga de $1 ha fallado o sido interrumpida."
		echo -n "Reintentar (r), Ignorar (i) Finalizar (q)? "
		read -n 1 -t 8 op
		echo




		case $op in
		r)
			download "$@"
			return
			;;
		i)
			[ -e ignore ] && contents=`head -1 ignore`







>
|
|
|
|
>
>
>
>







265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
	if aria2c --summary-interval=0 -c "$CURRENT/$1"; then
		if endswith $1 xbps && xz -qqt $1; then
			md5sum $1 | cut -d" " -f1 > "$1.sum"
			return 0
		fi
		return 3
	else
		while true; do
                  log "descarga de $1 ha fallado o sido interrumpida."
                  echo -n "Reintentar (r), Ignorar (i) Finalizar (q) Pausar (p)? "
                  read -n 1 -t 8 op
                  echo
                  [ "$op" = "p" ] || break
                  echo -n '[ENTER PARA REANUDAR]'
                  read
		done
		case $op in
		r)
			download "$@"
			return
			;;
		i)
			[ -e ignore ] && contents=`head -1 ignore`