From b779d46ff89c1099b7af610f71a00b6b738f9c69 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 16 Sep 2017 18:30:56 -0300 Subject: Check for mr and folders --- status | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'status') diff --git a/status b/status index f40980f..e042968 100755 --- a/status +++ b/status @@ -77,7 +77,9 @@ function status_run { # Update your mrconfig and check all registered repositories # Pipe through cat so we don't have to deal with mr's dynamic output weirdness - mrconfig-updater && mr -m status | cat + if which mr &> /dev/null; then + mrconfig-updater && mr -m status | cat + fi # Check your TODO lists todo -- cgit v1.2.3