From 07863b5998d77ba57290c42789e9e121663d8b6b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 21:22:52 -0400 Subject: Move build helper check into ob_get_system_path(). --- (limited to 'lib/metadata/proteanos.sh') diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index c135e0f..2638c67 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -185,8 +185,17 @@ _ob_get_system_path_proteanos() fi ;; 'build-helper') - if [ ${#} -eq 0 ]; then - printf '@@LIBDIR@@' + # helper_package + if [ ${#} -eq 1 ]; then + case "${1}" in + 'opkhelper-3.0') + printf '%s' '@@OPKHELPER_3_0@@' + ;; + *) + _ob_return 1 + return ${?} + ;; + esac else _ob_return 125 return ${?} -- cgit v0.9.1