summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/package/2.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/package/2.sh b/lib/package/2.sh
index 775a4dd..e0253e1 100644
--- a/lib/package/2.sh
+++ b/lib/package/2.sh
@@ -121,7 +121,12 @@ _ob_get_doc_package_2()
fi
done
- echo "${_obgdp2_pkg}"
+ if [ -z "${_obgdp2_doc_pkg}" ]; then
+ _ob_return 1
+ return ${?}
+ fi
+
+ echo "${_obgdp2_doc_pkg}"
_ob_return 0
return ${?}