paketsiz_talimatlari_bulma

This commit is contained in:
milisarge 2017-03-19 01:20:09 +02:00
parent 20948c2507
commit ca02529923
1 changed files with 11 additions and 1 deletions

12
bin/mps
View File

@ -4,7 +4,7 @@ if [ -f /etc/mps.conf ];then
. /etc/mps.conf
fi
. /root/bin/fonks.sh
versiyon="0.9.2"
versiyon="0.9.3"
iletisim="milisarge@gmail.com"
paketdepo="/depo/paketler/"
if [ -z ${sunucu+:} ]; then
@ -357,6 +357,14 @@ paket_sil_oto_onayli(){
done
}
paketsiz_talimatlar(){
for talimat in `ls $talimatname_dizin/genel`;do
if [[ ! $(cat $paketdepo/paket.vt | grep $talimat#) ]] ;then
echo $talimat
fi
done
}
paket_guncelle(){
surum_kontrol $1
devir_kontrol $1
@ -1278,6 +1286,8 @@ ayarlar() {
kurban_kurtar $2 ;;
-suko)
sunucu_kontrol ;;
-pot)
paketsiz_talimatlar ;;
-dota)
dosyadan_talimat_islem $2 $3 ;;
-cf|--config-file)