Update run.sh
This commit is contained in:
3
run.sh
3
run.sh
@@ -47,7 +47,8 @@ if [ "${1}" == "update" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd ${MMFOLDER}
|
cd ${MMFOLDER}
|
||||||
if [ "`git log --pretty=%H ...refs/heads/dev^ | head -n 1`" != "`git ls-remote origin -h refs/heads/dev |cut -f1`" ]; then
|
[ "${GITBRANCH}" != "" ] && gb=${GITBRANCH} || gb="master"
|
||||||
|
if [ "`git log --pretty=%H ...refs/heads/${gb}^ | head -n 1`" != "`git ls-remote origin -h refs/heads/${gb} |cut -f1`" ]; then
|
||||||
if [ "${2}" != "q" ]; then
|
if [ "${2}" != "q" ]; then
|
||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
echo -e "\e[0K\r ${idsCL[LightCyan]}Installing mediamanager updates...${idsCL[Default]}"
|
echo -e "\e[0K\r ${idsCL[LightCyan]}Installing mediamanager updates...${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user