From 5a588eac2aed4ae9814f321c1a6f4c9b4b315233 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 17 Mar 2021 00:28:02 +0100 Subject: [PATCH] small fixes --- main.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.sh b/main.sh index 0f563b5..8e28a5f 100755 --- a/main.sh +++ b/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