Merge pull request #287 from oranja/pkg-uptodate

bugfix: Core update reported failure when up-to-date
This commit is contained in:
Justin Hileman 2016-03-28 07:21:56 -07:00
commit 5260fd496a

View File

@ -12,7 +12,8 @@ function omf.cli.update
end
if set -q update_core
if omf.core.update
omf.core.update
if test $status -ne 1
echo (omf::em)"Oh My Fish is up to date."(omf::off)
else
echo (omf::err)"Oh My Fish failed to update."(omf::off)