mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-13 19:10:35 +02:00
Update 91-universal_graphic_drivers.sh
This commit is contained in:
@@ -12,6 +12,10 @@ if bashio::config.has_value "graphic_driver"; then
|
|||||||
# Get installer type
|
# Get installer type
|
||||||
if [ -f /usr/bin/apt ]; then
|
if [ -f /usr/bin/apt ]; then
|
||||||
bashio::log.info "... Distribution detected : Debian/Ubuntu"
|
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
|
elif [ -f /usr/bin/apk ]; then
|
||||||
bashio::log.info "... Distribution detected : Alpine"
|
bashio::log.info "... Distribution detected : Alpine"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user