mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 14:42:20 +08:00
Merge pull request #287 from oranja/pkg-uptodate
bugfix: Core update reported failure when up-to-date
This commit is contained in:
commit
5260fd496a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user