#! /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