mps-kirma

This commit is contained in:
milisbir 2017-08-30 22:58:39 +03:00
parent 1683bf19f6
commit de6421546f
1 changed files with 12 additions and 9 deletions

View File

@ -818,16 +818,18 @@ ters_bagimli_bilgi(){
kirik_ters_bagimli_bilgi(){
gentalimatlar=$(ls $talimatname_dizin/genel/)
for tal in $gentalimatlar;do
#echo $tal
#paket kuruluysa kontrolu yapılacak
if [ -d "$VT/$tal" ];then
bagimd=`cat $talimatname_dizin/genel/$tal/talimat | grep "Depends" | cut -d':' -f2`
if [ -n "$bagimd" ]; then
bagimd=`echo "$bagimd" | sed 's/,/ /g'`
for bag in $bagimd;do
if [ $bag = $1 ];then
kirik_kontrol_paket $bag
kirik_kontrol_paket $tal
fi
done
fi
fi
done
}
@ -2258,3 +2260,4 @@ ana "$@"
#33 sari
#34 mavi
#34 mor
k