From 91da1cf817528d7adea331204c93aa0554fdc7c2 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 31 Mar 2019 15:37:12 -0400 Subject: [PATCH] Make on_install happen earlier to allow more customization --- scripts/module_installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/module_installer.sh b/scripts/module_installer.sh index 614871c03..112eb2823 100644 --- a/scripts/module_installer.sh +++ b/scripts/module_installer.sh @@ -93,6 +93,8 @@ ui_print "******************************" rm -rf $MODPATH 2>/dev/null mkdir -p $MODPATH +on_install + # Remove placeholder rm -f $MODPATH/system/placeholder 2>/dev/null @@ -128,8 +130,6 @@ $POSTFSDATA && cp -af $TMPDIR/post-fs-data.sh $MODPATH/post-fs-data.sh # service mode scripts $LATESTARTSERVICE && cp -af $TMPDIR/service.sh $MODPATH/service.sh -on_install - # Handle replace folders for TARGET in $REPLACE; do mktouch $MODPATH$TARGET/.replace