From edeb4feaf32ff45bb56d4afe2cc6794a3d9c7aee Mon Sep 17 00:00:00 2001 From: PierreGode Date: Tue, 12 Jun 2018 16:06:17 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index 415a1ea..aea2da9 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1023,16 +1023,15 @@ done } ############################## Flags ############################### clear -Versi0n=$( echo "7" ) -update=$( curl -s https://github.com/PierreGode/Linux-Active-Directory-join-script/blob/master/ADconnection.sh | grep -i Versi0n | awk '{print $10}' ) -if [ "$update" -gt "$Version" ] -then -echo "Updating ADconnection" -sleep 1 -git pull -else -echo "ADconnection is up to date" -fi +#Versi0n=$( echo "7" ) +#update=$( curl -s https://github.com/PierreGode/Linux-Active-Directory-join-script/blob/master/ADconnection.sh | grep -i Versi0n | awk '{print $10}' ) +#if [ "$update" -gt "$Version" ] +#then +#echo "Updating ADconnection" +#git pull +#else +#echo "ADconnection is up to date" +#fi while test $# -gt 0; do case "$1" in -h|--help)