small fixes
This commit is contained in:
parent
42fca2e6ed
commit
5a588eac2a
10
main.sh
10
main.sh
|
@ -19,15 +19,15 @@ remote="https://void.cijber.net/current/"
|
|||
|
||||
source "${functions}"/functions
|
||||
umounter "${dest}"
|
||||
|
||||
export run="pre"
|
||||
set -x
|
||||
export run="config"
|
||||
for i in $(find "${modules}" -mindepth 1 -maxdepth 1 -type d | sort -n ); do
|
||||
test -f "${i}"/pre && source "${i}"/pre
|
||||
test -f "${i}"/config && source "${i}"/config
|
||||
done
|
||||
|
||||
export run="preinstall"
|
||||
export run="postconfig"
|
||||
for i in $(find "${modules}" -mindepth 1 -maxdepth 1 -type d | sort -n ); do
|
||||
test -f "${i}"/preinstall && source "${i}"/preinstall
|
||||
test -f "${i}"/postconfig && source "${i}"/postconfig
|
||||
done
|
||||
|
||||
mkdir -p "${dest}"/tmp/installer/tmp "${dest}"/etc
|
||||
|
|
Loading…
Reference in New Issue
Block a user