[Lunar-commits] <lunar> [merge] pull PROFILE change in from theedge

Auke Kok sofar at lunar-linux.org
Mon Jul 2 04:43:13 CEST 2012


commit cd6f519a6e8d48f48fe230b708f7d3c96a6c3f16
Author: Auke Kok <sofar at lunar-linux.org>
Date:   Thu Oct 26 15:21:08 2006 +0000

    [merge] pull PROFILE change in from theedge
---
 var/lib/lunar/functions/build.lunar |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/var/lib/lunar/functions/build.lunar b/var/lib/lunar/functions/build.lunar
index d93e5f2..18bf4d5 100644
--- a/var/lib/lunar/functions/build.lunar
+++ b/var/lib/lunar/functions/build.lunar
@@ -272,7 +272,8 @@ default_cpan_build() {
 default_post_build() {
   debug_msg "default_post_build ($@)"
 
-  if [ $(wc -l $INSTALLWATCHFILE | awk '{print$1}') == "0" ]; then
+  if [ $(wc -l $INSTALLWATCHFILE | awk '{print$1}') == "0" ] &&
+      [ "$PROFILE" != "yes" ] ; then
     message "${PROBLEM_COLOR}WARNING: ${DEFAULT_COLOR}${FILE_COLOR}BUILD${DEFAULT_COLOR}${PROBLEM_COLOR} does not call prepare_install or installs zero files!${DEFAULT_COLOR}"
   fi
 


More information about the Lunar-commits mailing list