void-bash-installer/modules/20-installation/install

24 lines
545 B
Plaintext
Raw Normal View History

2021-03-11 14:04:04 +01:00
module start "installation" "Installation" "dontcheck"
echo ""
echo "recent fingerprint: 60:ae:0c:d6:f0:95:17:80:bc:93:46:7a:89:af:a3:2d"
echo ""
if [[ "${#ignorepkg[@]}" -gt 0 ]]; then
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
fi
done
fi
if [[ "${#pkg[@]}" -gt 0 ]]; then
inst "${pkg[@]}"
else
echo nothing to do
fi
module end