mps
This commit is contained in:
parent
d5815f3c58
commit
aeff6f2be0
1 changed files with 7 additions and 1 deletions
8
bin/mps
8
bin/mps
|
@ -1285,6 +1285,9 @@ sistem_guncelle(){
|
||||||
if [ "$1" = "evet" ];then
|
if [ "$1" = "evet" ];then
|
||||||
_onay=1
|
_onay=1
|
||||||
fi
|
fi
|
||||||
|
if [ "$1" = "dosya" ];then
|
||||||
|
_onay=2
|
||||||
|
fi
|
||||||
if [ "$1" ] && [ -f "$1" ];then
|
if [ "$1" ] && [ -f "$1" ];then
|
||||||
guncelleme_dosya="$1"
|
guncelleme_dosya="$1"
|
||||||
[ "$2" = "evet" ] && _onay=1
|
[ "$2" = "evet" ] && _onay=1
|
||||||
|
@ -1354,8 +1357,11 @@ sistem_guncelle(){
|
||||||
* ) echo "e veya h";;
|
* ) echo "e veya h";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
else
|
elif [ ${_onay} -eq 1 ];then
|
||||||
sistem_guncelle_uygula $guncelleme_dosya
|
sistem_guncelle_uygula $guncelleme_dosya
|
||||||
|
else
|
||||||
|
echo "güncelleme dosyanız: $guncelleme_dosya"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
$_yaz_uyari "Güncellenecek paket bulunamadı!"
|
$_yaz_uyari "Güncellenecek paket bulunamadı!"
|
||||||
|
|
Loading…
Add table
Reference in a new issue