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
|
source "${functions}"/functions
|
||||||
umounter "${dest}"
|
umounter "${dest}"
|
||||||
|
set -x
|
||||||
export run="pre"
|
export run="config"
|
||||||
for i in $(find "${modules}" -mindepth 1 -maxdepth 1 -type d | sort -n ); do
|
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
|
done
|
||||||
|
|
||||||
export run="preinstall"
|
export run="postconfig"
|
||||||
for i in $(find "${modules}" -mindepth 1 -maxdepth 1 -type d | sort -n ); do
|
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
|
done
|
||||||
|
|
||||||
mkdir -p "${dest}"/tmp/installer/tmp "${dest}"/etc
|
mkdir -p "${dest}"/tmp/installer/tmp "${dest}"/etc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user