Fix fonts on Ubuntu 22.04
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Tyler 2023-06-03 23:57:15 -04:00
parent 870c913711
commit 8e70eabfb3
1 changed files with 2 additions and 5 deletions

View File

@ -45,21 +45,18 @@ echo "remove obsolete networking packages"
apt-get -y purge ppp pppconfig pppoeconf; apt-get -y purge ppp pppconfig pppoeconf;
echo "remove packages we don't need" echo "remove packages we don't need"
apt-get -y purge popularity-contest command-not-found friendly-recovery bash-completion fonts-ubuntu-font-family-console laptop-detect motd-news-config usbutils grub-legacy-ec2 apt-get -y purge popularity-contest command-not-found friendly-recovery bash-completion laptop-detect motd-news-config usbutils grub-legacy-ec2
# 21.04+ don't have this # 21.04+ don't have this
echo "remove the installation-report" echo "remove the installation-report"
apt-get -y purge popularity-contest installation-report || true; apt-get -y purge popularity-contest installation-report || true;
echo "remove the console font"
apt-get -y purge fonts-ubuntu-console || true;
echo "removing command-not-found-data" echo "removing command-not-found-data"
# 19.10+ don't have this package so fail gracefully # 19.10+ don't have this package so fail gracefully
apt-get -y purge command-not-found-data || true; apt-get -y purge command-not-found-data || true;
echo "remove unnecessary packages via snap/apt" echo "remove unnecessary packages via snap/apt"
snap remove lxd snap remove lxd || true;
# Exclude the files we don't need w/o uninstalling linux-firmware # Exclude the files we don't need w/o uninstalling linux-firmware
echo "Setup dpkg excludes for linux-firmware" echo "Setup dpkg excludes for linux-firmware"