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
1 changed files with 1 additions and 1 deletions

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