Update 80-configuration.sh

This commit is contained in:
Alexandre
2023-09-03 09:24:13 +02:00
committed by GitHub
parent 86a2c3aeb9
commit d341c73146

View File

@@ -2,16 +2,6 @@
# shellcheck shell=bash
# shellcheck disable=SC2015
# Install rpi video drivers
if bashio::config.true 'rpi_video_drivers'; then
bashio::log.info "Installing Rpi graphic drivers"
if [ "$PACKMANAGER" = "apk" ]; then
apk add --no-cache "mesa-dri-vc4 mesa-dri-swrast mesa-gbm xf86-video-fbdev" &>/dev/null || (bashio::log.fatal "Error : $packagestoinstall not found")
elif [ "$PACKMANAGER" = "apt" ]; then
apt-get install -yqq --no-install-recommends "mesa*" &>/dev/null || (bashio::log.fatal "Error : $packagestoinstall not found")
fi
fi
# Install specific apps
if bashio::config.has_value 'additional_apps'; then
bashio::log.info "Installing additional apps :"