[Lunar-commits] <lunar> Call BUILD_POST_INSTALL plugins after module POST_INSTALL
Stefan Wold
ratler at lunar-linux.org
Sat Sep 21 15:09:35 CEST 2013
commit c4d7293d40e642e5623ed48335be7e4390db44b5
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 21 Sep 2013 06:08:11 -0700
URL: https://github.com/lunar-linux/lunar/commit/c4d7293d40e642e5623ed48335be7e4390db44b5
Call BUILD_POST_INSTALL plugins after module POST_INSTALL
---
libs/build.lunar | +1/-1
libs/plugins.lunar | +2/-2
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/libs/build.lunar
+++ b/libs/build.lunar
@@ -420,10 +420,10 @@ run_post_build() {
run_post_install() {
debug_msg "run_post_install ($@)"
- plugin_call BUILD_POST_INSTALL $MODULE
if has_module_file $MODULE POST_INSTALL ; then
run_module_file $MODULE POST_INSTALL
fi
+ plugin_call BUILD_POST_INSTALL $MODULE
}
--- a/libs/plugins.lunar
+++ b/libs/plugins.lunar
@@ -34,8 +34,8 @@ plugin_register() {
# 9 - BUILD_BUILD ,, ,, ,, BUILD
# 10 - BUILD_INSTALL ,, ,, ,, INSTALL
# 11 - BUILD_POST_BUILD ,, ,, ,, POST_BUILD
- # 12 - BUILD_POST_INSTALL ,, ,, ,, POST_INSTALL
- # 13 - BUILD_PRE_REMOVE ,, ,, ,, PRE_REMOVE
+ # 12 - BUILD_POST_INSTALL called after running POST_INSTALL
+ # 13 - BUILD_PRE_REMOVE called before running PRE_REMOVE
# 14 - BUILD_POST_REMOVE ,, ,, ,, POST_REMOVE
# 15 - OPTIMIZE_MENU Display optimization menu's
LUNAR_PLUGINS=(${LUNAR_PLUGINS[@]} "$1:$2")
More information about the Lunar-commits
mailing list