AzuraCast/util/docker/common/buildconfig

23 lines
487 B
Plaintext
Raw Normal View History

export LC_ALL=C
export DEBIAN_FRONTEND=noninteractive
2021-04-23 04:16:00 +02:00
minimal_apt_get_install='apt-get install -y --no-install-recommends'
install_without_postinst() {
local PACKAGE
PACKAGE=$1
mkdir -p /tmp/install_$PACKAGE
cd /tmp/install_$PACKAGE
apt-get download $PACKAGE
dpkg --unpack $PACKAGE*.deb
rm -f /var/lib/dpkg/info/$PACKAGE.postinst
dpkg --configure $PACKAGE
apt-get install -yf #To fix dependencies
cd /
rm -rf /tmp/install_$PACKAGE
}