small fixes
This commit is contained in:
parent
dadaf8d9d4
commit
ece3ecb54a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue