From 85f5c438ba87249e7e0d7badcf29154168c57c42 Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Wed, 17 Oct 2018 18:56:44 +0200 Subject: #850: Correct instructions order. --- repoman/bin/checkrepo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repoman/bin/checkrepo b/repoman/bin/checkrepo index 24bb8adb..5b8a0270 100755 --- a/repoman/bin/checkrepo +++ b/repoman/bin/checkrepo @@ -220,10 +220,10 @@ function checkremoved() { # Main progrram. # Check dependencies. -[ ! -w "$(dirname "$INFOFILE")" ] && raiseError access "$INFOFILE" -[ -e "$INFOFILE" ] || addToJson JQ=$(which jq 2>/dev/null) || raiseError notfound "Need to install \"jq\"." which sponge &>/dev/null || raiseError notfound "Need to install \"moreutils\"." +[ ! -w "$(dirname "$INFOFILE")" ] && raiseError access "$INFOFILE" +[ -e "$INFOFILE" ] || addToJson checkfiles checkdirs -- cgit v1.2.3-18-g5258