From d40785ffe1b22e0161a33df2165dba27edacd807 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 9 Jun 2018 14:17:00 +0200 Subject: [PATCH] mps-goc --- bin/mps | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mps b/bin/mps index e56b2b197..4f66c530b 100755 --- a/bin/mps +++ b/bin/mps @@ -35,7 +35,9 @@ fi git_sunucu="https://notabug.org" git_sunucu_eski="https://github.com" -if [ $(cat /sources/milis.git/.git/config | grep "url =" | grep "${git_sunucu_eski}") ];then +cat /sources/milis.git/.git/config | grep "url =" | grep "${git_sunucu_eski}" + +if [ $? -eq 0 ];then echo "eski git sunucusundan göç ediliyor." mv /sources/milis.git /sources/milis.git.eski fi