1
0
Fork 0
mirror of synced 2024-11-16 13:05:35 -05:00

Slight Change

This commit is contained in:
AtomicCoding 2018-04-17 19:32:36 -07:00
parent 8e57ee9985
commit 8273b2c98a
No known key found for this signature in database
GPG key ID: D9C2E2ED3C4516FA

View file

@ -34,8 +34,8 @@ else
fi
cd ${ZIM_HOME}
# 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
git remote update -p > /dev/null 2>&1
output=$(git merge --ff-only @\{u\} 2>&1)
if echo "$output" | grep "up to date" > /dev/null; then
echo -ne "${blue}Zim at latest version. ${normal}"\\r