From 03b6d5088a97629cc554b084e2f51cad7d0dbb1b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 11 Jan 2022 15:13:54 +0100 Subject: [PATCH] Update 99-run.sh --- webtop/rootfs/etc/cont-init.d/99-run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/webtop/rootfs/etc/cont-init.d/99-run.sh b/webtop/rootfs/etc/cont-init.d/99-run.sh index 53788d0b8..6cea01206 100644 --- a/webtop/rootfs/etc/cont-init.d/99-run.sh +++ b/webtop/rootfs/etc/cont-init.d/99-run.sh @@ -16,6 +16,7 @@ if bashio::config.has_value 'additional_apps'; then # Install apps for APP in $(echo "$(bashio::config 'additional_apps')" | tr "," " "); do bashio::log.green "... $APP" + # Test install with both apt-get and snap apt-get install -yqq $APP &>/dev/null || snap install $APP \ && bashio::log.green "... done" \ || bashio::log.red "... not successful"