flake.nix: catch more errors in list-upgradable
This commit is contained in:
parent
88972474d0
commit
84085a0fcc
|
@ -106,8 +106,10 @@
|
|||
echo -e "$GREEN"current"$NORMAL $RUNNING_VER"
|
||||
elif [ "$RUNNING_VER" = "$CURRENT_VER" ]; then
|
||||
echo -e "$GREEN"modified"$NORMAL $RUNNING_VER"
|
||||
else
|
||||
elif [ -n "$RUNNING_VER" ]; then
|
||||
echo -e "$YELLOW"outdated"$NORMAL $RUNNING_VER < $CURRENT_VER"
|
||||
else
|
||||
echo -e "$RED"error"$NORMAL $RUNNING_VER"
|
||||
fi
|
||||
fi
|
||||
echo -n -e "$NORMAL"
|
||||
|
|
Loading…
Reference in New Issue