Update 91-universal_graphic_drivers.sh

This commit is contained in:
Alexandre
2022-11-06 09:40:42 +01:00
committed by GitHub
parent c26bc88dc1
commit eb49b97e7d

View File

@@ -12,6 +12,10 @@ if bashio::config.has_value "graphic_driver"; then
# Get installer type
if [ -f /usr/bin/apt ]; then
bashio::log.info "... Distribution detected : Debian/Ubuntu"
apt-get install -yqq software-properties-common >/dev/null
add-apt-repository ppa:kisak/kisak-mesa >/dev/null
apt-get update >/dev/null
apt-get install -yqq mesa
elif [ -f /usr/bin/apk ]; then
bashio::log.info "... Distribution detected : Alpine"
fi