small fixes

This commit is contained in:
teldra 2021-03-17 00:28:02 +01:00
parent 42fca2e6ed
commit 5a588eac2a
1 changed files with 5 additions and 5 deletions

10
main.sh
View File

@ -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