This commit is contained in:
milisarge 2017-05-15 16:09:30 +03:00
parent ed7dc382a3
commit cb957130e0
1 changed files with 12 additions and 1 deletions

13
bin/mps
View File

@ -392,11 +392,22 @@ paket_guncelle_oto(){
} }
sistem_guncelle(){ sistem_guncelle(){
# güncellemede atlanacak paketler.
esgec=(xorg xorg-font xorg-proto kernel-lts vlc)
local kpkt local kpkt
local pk_guncelle
mps -GG mps -GG
mps -G mps -G
for kpkt in `mps -kl`;do for kpkt in `mps -kl`;do
paket_guncelle "$kpkt" pk_guncelle="e"
case "${esgec[@]}" in *"$kpkt"*) pk_guncelle="h" ;; esac
if [ "$pk_guncelle" = "e" ];then
ryaz 32 $kpkt "guncellendi"
paket_guncelle "$kpkt"
else
ryaz 31 $kpkt "guncellemesi atlandı"
fi
done done
} }