[Lunar-commits] <lunar> Cascade the proper error code after plugin_call has finished

Stefan Wold ratler at lunar-linux.org
Sat Sep 21 15:42:51 CEST 2013


commit 997beb9307f3e935198ce53312a25d3a6dd74a1a
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 21 Sep 2013 06:42:06 -0700
URL: https://github.com/lunar-linux/lunar/commit/997beb9307f3e935198ce53312a25d3a6dd74a1a

Cascade the proper error code after plugin_call has finished
---
  libs/build.lunar | +3/-2     
  1 file changed, 3 insertions(+), 2 deletions(-)

--- a/libs/build.lunar
+++ b/libs/build.lunar
@@ -424,6 +424,7 @@ run_post_install() {
     run_module_file $MODULE POST_INSTALL
   fi
   plugin_call BUILD_POST_INSTALL $MODULE
+  if [ $? == 2 ]; then
+    return 0
+  fi
 }
-
-




More information about the Lunar-commits mailing list