mps-kokdizin-kurma

This commit is contained in:
milisarge 2017-05-03 01:06:14 +03:00
parent c05983a5af
commit 49c0042175
1 changed files with 13 additions and 2 deletions

15
bin/mps
View File

@ -1555,8 +1555,7 @@ if [ `id -u` = 0 ] ; then
kkont=`kurulu_kontrol "$paketad"`
if [ "$kkont" = "degil" ];then
icerik_ekle "$2"
else
echo $tekrarkur
elif [ "$kkont" = "evet" ];then
if [ "$tekrarkur" = "hayir" ];then
while true; do
ryaz 31 "$2 paketi zaten kurulu silinip kurulsun mu?"
@ -1573,6 +1572,18 @@ if [ `id -u` = 0 ] ; then
paket_sil "$paketad"
icerik_ekle "$2"
fi
else
if [ "$tekrarkur" = "evet" ];then
while true; do
ryaz 31 "$2 paketi talimatname dışı.Yine de kurulsun mu? (kokdizin=$kokdizin) "
read -p "e veya h -> " eh
case $eh in
[Ee]* ) icerik_ekle "$2"; break;;
[Hh]* ) break;;
* ) echo "e veya h";;
esac
done
fi
fi
else
ryaz 31 "yerelde mps paketi bulunamadı."