2016-03-16 23:16:23 +01:00
|
|
|
#!/bin/bash
|
|
|
|
pvt_olustur(){
|
|
|
|
if [ ! -f paket.vt ];then
|
|
|
|
touch paket.vt
|
|
|
|
fi
|
2016-03-18 03:14:06 +01:00
|
|
|
if [ -f "paket.vt" ];then
|
|
|
|
mv "paket.vt" "paket.vt.eski"
|
|
|
|
fi
|
2016-03-29 02:39:30 +02:00
|
|
|
for paket in `ls *.mps.lz`
|
2016-03-16 23:16:23 +01:00
|
|
|
do
|
|
|
|
paketad="`echo $paket|cut -d "#" -f1`"
|
|
|
|
shaek=`sha1sum $paket`
|
2016-03-18 03:14:06 +01:00
|
|
|
|
2016-03-17 17:58:21 +01:00
|
|
|
echo $paketad $shaek >> paket.vt
|
2016-03-16 23:16:23 +01:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
pvt_olustur
|