windvn/mods/packages-apply/data/chroot
2023-04-09 10:05:18 +02:00

23 lines
554 B
Bash
Executable File

#!/bin/bash
set -e
cat << EOF | debconf-set-selections
firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true
EOF
apt-get --error-on=any -y update
apt-get -y upgrade
apt-get -y install $WDVN_PACKAGES_INTERACTIVE
export DEBIAN_FRONTEND="noninteractive"
apt-get -y install $WDVN_PACKAGES
update-rc.d keyboard-setup.sh defaults
if [ "$WDVN_ONLINE" != "1" ]; then
if [ "$WDVN_FAT" != "1" ]; then
apt-get -y install --download-only $WDVN_PACKAGES_DL
else
apt-get -y install $WDVN_PACKAGES_DL
fi
fi
unset DEBIAN_FRONTEND
apt-get -y autoclean