2016-03-16 23:16:23 +01:00
|
|
|
#!/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`
|
2016-03-18 02:20:00 +01:00
|
|
|
if [ -f "paket.vt" ];then
|
|
|
|
mv "paket.vt" "paket.vt.eski"
|
|
|
|
fi
|
2016-03-17 17:58:21 +01:00
|
|
|
echo $paketad $shaek >> paket.vt
|
2016-03-16 23:16:23 +01:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
pvt_olustur
|