summaryrefslogtreecommitdiffstats
path: root/repoman
diff options
context:
space:
mode:
Diffstat (limited to 'repoman')
-rwxr-xr-xrepoman/bin/checkrepo4
1 files 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