mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
New PACKAGES logic
This commit is contained in:
@@ -22,7 +22,7 @@ RUN \
|
||||
################
|
||||
apt-get clean \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y ${PACKAGES} \
|
||||
&& apt-get install -y --no-install-recommends ${PACKAGES} \
|
||||
&& apt-get clean \
|
||||
\
|
||||
##############
|
||||
|
||||
@@ -10,8 +10,8 @@ if [ ! -f "/usr/bin/bashio" ]; then
|
||||
|
||||
apt-get clean \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y $PACKAGES 2>/dev/null \
|
||||
|| apk add --no-cache $PACKAGES
|
||||
&& apt-get install -y --no-install-recommends ${PACKAGES} 2>/dev/null \
|
||||
|| apk add --no-cache ${PACKAGES}
|
||||
|
||||
###################
|
||||
# Install bashio #
|
||||
|
||||
Reference in New Issue
Block a user