mps.progressbar

This commit is contained in:
milisman 2016-09-30 02:16:04 +03:00
parent 95b8ebad67
commit 6242d01c7c
1 changed files with 3 additions and 3 deletions

View File

@ -711,7 +711,7 @@ paketvt_guncelle(){
if [ -f "$paketdepo""paket.vt" ];then if [ -f "$paketdepo""paket.vt" ];then
mv "$paketdepo""paket.vt" "$paketdepo""paket.vt.eski" mv "$paketdepo""paket.vt" "$paketdepo""paket.vt.eski"
fi fi
wget -P "$paketdepo" "$sunucu""paket.vt" wget -q --show-progress -P "$paketdepo" "$sunucu""paket.vt"
#rm /tmp/paket.vt* #rm /tmp/paket.vt*
mps -kudo mps -kudo
exit 1 exit 1
@ -796,7 +796,7 @@ paket_indir(){
pkt=`cat "$paketdepo""paket.vt" | grep "^$1 " | cut -d' ' -f3` pkt=`cat "$paketdepo""paket.vt" | grep "^$1 " | cut -d' ' -f3`
ekontdeg=`cat "$paketdepo""paket.vt" | grep "^$1 " | cut -d' ' -f2` ekontdeg=`cat "$paketdepo""paket.vt" | grep "^$1 " | cut -d' ' -f2`
cpaket="${pkt/'#'/'%23'}" cpaket="${pkt/'#'/'%23'}"
wget -nc -P "$paketdepo" "$sunucu$cpaket" &> /dev/null wget -nc -q --show-progress -P "$paketdepo" "$sunucu$cpaket"
if [[ "$?" != 0 ]]; then if [[ "$?" != 0 ]]; then
ryaz 31 "indirme hatalı" ryaz 31 "indirme hatalı"
else else
@ -839,7 +839,7 @@ ayarlar() {
tekrarkur="evet" tekrarkur="evet"
fi fi
ikaynak="yerel" ;; ikaynak="yerel" ;;
-s|--pksil) -s|sil)
paket_sil "$2" ;; paket_sil "$2" ;;
-d|--pkde) -d|--pkde)
zorla_derle="yok" zorla_derle="yok"