From 27e86eb6d05c26c15c0c3fcda0861e0fe71b6dea Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 16 Mar 2021 20:33:02 +0100 Subject: [PATCH] small fixes --- main.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 3283ba3..21d5cb9 100755 --- a/main.sh +++ b/main.sh @@ -30,7 +30,8 @@ for i in $(find "${modules}" -mindepth 1 -maxdepth 1 -type d | sort -n ); do test -f "${i}"/preinstall && source "${i}"/preinstall done -mkdir -p "${dest}"/tmp/installer/tmp +mkdir -p "${dest}"/tmp/installer/tmp "${dest}"/etc +cp -rf /etc/resolv.conf "${dest}"/etc cp -rf "${vars}" "${dest}"/tmp/installer/tmp #rm -rf "${vars}" cp -rf "${modules}" "${dest}"/tmp/installer