Remove plymouth package if its not needed

This commit is contained in:
Gunjan Gupta 2023-07-09 18:56:58 +05:30 committed by Igor
parent 60fd20a720
commit 95687ba057

View File

@ -390,6 +390,8 @@ function install_distribution_agnostic() {
# install armbian-plymouth-theme
if [[ $PLYMOUTH == yes ]]; then
install_deb_chroot "${DEB_STORAGE}/${image_artifacts_debs["armbian-plymouth-theme"]}"
else
chroot_sdcard_apt_get_remove --auto-remove plymouth
fi
# install wireguard tools