small fixes
This commit is contained in:
parent
dadaf8d9d4
commit
ece3ecb54a
|
@ -1,8 +1,8 @@
|
||||||
module start "preinstallation" "Preinstallation"
|
module start "preinstallation" "Preinstallation"
|
||||||
|
|
||||||
if [[ "${#ignorepkg[@]}" -gt 0 ]]; then
|
if [[ "${#ignorepkg[@]}" -gt 0 ]]; then
|
||||||
mkdir -p /etc/xbps.d/
|
mkdir -p "${dest}"/etc/xbps.d/
|
||||||
touch /etc/xbps.d/10-ignore-pkg.conf
|
touch "${dest}"/etc/xbps.d/10-ignore-pkg.conf
|
||||||
for ig in "${ignorepkg[@]}"; do
|
for ig in "${ignorepkg[@]}"; do
|
||||||
if ! grep -q "${ig}" "${dest}"/etc/xbps.d/10-ignore-pkg.conf; then
|
if ! grep -q "${ig}" "${dest}"/etc/xbps.d/10-ignore-pkg.conf; then
|
||||||
echo "ignorepkg=${ig}" >> "${dest}"/etc/xbps.d/10-ignore-pkg.conf
|
echo "ignorepkg=${ig}" >> "${dest}"/etc/xbps.d/10-ignore-pkg.conf
|
||||||
|
|
Loading…
Reference in New Issue