malfs mekanizma guncelleme

This commit is contained in:
milisbir 2016-03-16 22:16:23 +00:00
parent 082de911f3
commit ccbb145733
2 changed files with 15 additions and 1 deletions

View File

@ -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

14
bin/pkvt_olustur Executable file
View File

@ -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