blob: 890a849723a70b51267c871a491515379b61c732 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#! /bin/bash
if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then
exit 0
fi
# Enforce installation of ttf-mscorefonts-installer before doing
# other package installations.
# We used to install it as a normal dependency which conflicts
# with the installation of network-manager. Between package
# extraction and postinst run of network-manager, we have
# problems with DNS resolution (which is required for the
# postinst of ttf-mscorefonts-installer.
if ifclass NONFREE; then
if [ X$verbose = X1 ]; then
$ROOTCMD apt-get -y install ttf-mscorefonts-installer
else
$ROOTCMD apt-get -y install ttf-mscorefonts-installer > /dev/null
fi
fi
|