summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opkbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index f9154de..7ba330e 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -211,7 +211,7 @@ find_sanity()
if [ "${?}" -ne 0 ]; then
oh_error "${oh_str_no_format}"
fi
- if [ "${format}" -ne 0 ]; then
+ if [ "${format}" != '2.0' ]; then
oh_error "${oh_str_unsupported_format}" "${format}"
fi