Commit 91da1cf8 authored by topjohnwu's avatar topjohnwu

Make on_install happen earlier to allow more customization

parent c577a952
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment