malfs mekanizma guncelleme
This commit is contained in:
parent
082de911f3
commit
ccbb145733
2
bin/mps
2
bin/mps
|
@ -615,7 +615,7 @@ if [ "$ikaynak" = "ag" ]; then
|
|||
icerik_ekle "$paketdepo$pkt"
|
||||
exit 1
|
||||
else
|
||||
rya 31 "paket zaten kurulu!"
|
||||
ryaz 31 "paket zaten kurulu!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
pvt_olustur(){
|
||||
if [ ! -f paket.vt ];then
|
||||
touch paket.vt
|
||||
fi
|
||||
for paket in `ls`
|
||||
do
|
||||
paketad="`echo $paket|cut -d "#" -f1`"
|
||||
shaek=`sha1sum $paket`
|
||||
echo $shaek $paketad >> paket.vt
|
||||
done
|
||||
}
|
||||
|
||||
pvt_olustur
|
Loading…
Reference in New Issue