From ece3ecb54a46248ed901ef132da8602306a605f0 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 16 Mar 2021 23:51:23 +0100 Subject: [PATCH] small fixes --- modules/20-installation/preinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/20-installation/preinstall b/modules/20-installation/preinstall index 588c846..e9966e6 100644 --- a/modules/20-installation/preinstall +++ b/modules/20-installation/preinstall @@ -1,8 +1,8 @@ module start "preinstallation" "Preinstallation" if [[ "${#ignorepkg[@]}" -gt 0 ]]; then - mkdir -p /etc/xbps.d/ - touch /etc/xbps.d/10-ignore-pkg.conf + mkdir -p "${dest}"/etc/xbps.d/ + touch "${dest}"/etc/xbps.d/10-ignore-pkg.conf for ig in "${ignorepkg[@]}"; do if ! grep -q "${ig}" "${dest}"/etc/xbps.d/10-ignore-pkg.conf; then echo "ignorepkg=${ig}" >> "${dest}"/etc/xbps.d/10-ignore-pkg.conf