From c5d8ba7a17b65d53e9211783732096a6bb3eb73e Mon Sep 17 00:00:00 2001 From: milisman Date: Sun, 18 Sep 2016 13:07:58 +0300 Subject: [PATCH] mps.guncelleme --- bin/mps | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/mps b/bin/mps index 00410ea77..7380a2c47 100755 --- a/bin/mps +++ b/bin/mps @@ -693,7 +693,13 @@ git_guncelle() { rsync -a $DERLEME_KAYNAKDIZIN/milis.git/bin/ `dirname $talimatname_dizin`/bin rm -r `dirname $talimatname_dizin`/ayarlar/* rsync -a $DERLEME_KAYNAKDIZIN/milis.git/ayarlar/ `dirname $talimatname_dizin`/ayarlar - ln -s /root/bin/* /usr/bin/ + #ikili dosyaların /usr/bin altına kısayol atılması + for i in /root/bin/*; do + j=`basename $i` + if [ ! -f /usr/bin/$j ];then + ln -s /root/bin/$j /usr/bin/$j + fi + done } paketvt_guncelle(){