Slight Change
This commit is contained in:
parent
8e57ee9985
commit
8273b2c98a
|
@ -34,8 +34,8 @@ else
|
||||||
fi
|
fi
|
||||||
cd ${ZIM_HOME}
|
cd ${ZIM_HOME}
|
||||||
# this is the cleanest way I know how to update a repository
|
# this is the cleanest way I know how to update a repository
|
||||||
git remote update -p > /dev/null 2>&1
|
|
||||||
echo -ne "${blue}Updating Zim...${normal}"\\r
|
echo -ne "${blue}Updating Zim...${normal}"\\r
|
||||||
|
git remote update -p > /dev/null 2>&1
|
||||||
output=$(git merge --ff-only @\{u\} 2>&1)
|
output=$(git merge --ff-only @\{u\} 2>&1)
|
||||||
if echo "$output" | grep "up to date" > /dev/null; then
|
if echo "$output" | grep "up to date" > /dev/null; then
|
||||||
echo -ne "${blue}Zim at latest version. ${normal}"\\r
|
echo -ne "${blue}Zim at latest version. ${normal}"\\r
|
||||||
|
|
Loading…
Reference in New Issue