3 ROOT_DIR=$( cd `dirname $0`; pwd )
9 CURRENT=`git show HEAD|head -n1`
10 LASTEST=`git show FETCH_HEAD|head -n1`
12 [ "$1" = "-d" ] && echo -e "Current : $CURRENT\nLastest : $LASTEST"
14 if [ "$CURRENT" != "$LASTEST" ]
16 echo "New update is available"
17 echo "======================="
18 echo "Current installation of LdapSaisie is from the $CURRENT."
19 echo "Changes have been made since."
21 echo "The lastest commit is : "
23 git show FETCH_HEAD|cat
25 echo "** /!\\ You have to run the script upgradeFromGit.sh to upgrade your installation. /!\\ **"