mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
08877c0283
commit
edeb4feaf3
@ -1023,16 +1023,15 @@ done
|
|||||||
}
|
}
|
||||||
############################## Flags ###############################
|
############################## Flags ###############################
|
||||||
clear
|
clear
|
||||||
Versi0n=$( echo "7" )
|
#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}' )
|
#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" ]
|
#if [ "$update" -gt "$Version" ]
|
||||||
then
|
#then
|
||||||
echo "Updating ADconnection"
|
#echo "Updating ADconnection"
|
||||||
sleep 1
|
#git pull
|
||||||
git pull
|
#else
|
||||||
else
|
#echo "ADconnection is up to date"
|
||||||
echo "ADconnection is up to date"
|
#fi
|
||||||
fi
|
|
||||||
while test $# -gt 0; do
|
while test $# -gt 0; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-h|--help)
|
-h|--help)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user