Suppress messages

This commit is contained in:
Alexandre
2021-11-22 13:12:10 +01:00
parent 25db1a5b5d
commit 28eca160a4
9 changed files with 278 additions and 275 deletions

View File

@@ -2,7 +2,7 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
@@ -26,6 +26,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null
echo "Bashio installed" echo "Bashio installed"
fi fi

View File

@@ -2,20 +2,20 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
apt-get clean \ apt-get clean &&
&& apt-get update \ apt-get update &&
&& apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
jq \ jq \
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba \ samba \
smbclient \ smbclient \
nginx \ nginx &&
&& apt-get clean apt-get clean
################### ###################
# Install bashio # # Install bashio #
@@ -27,6 +27,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null
echo "Bashio installed" echo "Bashio installed"
fi fi

View File

@@ -2,7 +2,7 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
@@ -33,5 +33,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
######################################## ########################################
mkdir -p -m 777 /config/filebrowser || true mkdir -p -m 777 /config/filebrowser || true
) >/dev/null
echo "Bashio installed" echo "Bashio installed"
fi fi

View File

@@ -2,7 +2,7 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
@@ -23,6 +23,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null
echo "Bashio installed" echo "Bashio installed"
fi fi

View File

@@ -2,7 +2,7 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
@@ -32,6 +32,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null
echo "Bashio installed" echo "Bashio installed"
fi fi

View File

@@ -2,7 +2,7 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
@@ -13,10 +13,10 @@ if [ ! -f "/usr/bin/bashio" ]; then
cifs-utils \ cifs-utils \
keyutils \ keyutils \
samba-client \ samba-client \
samba || \ samba ||
( (
apt-get clean && \ apt-get clean &&
apt-get update && \ apt-get update &&
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
jq \ jq \
curl \ curl \
@@ -36,6 +36,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null
echo "Bashio installed" echo "Bashio installed"
fi fi

View File

@@ -2,7 +2,7 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
@@ -34,6 +34,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null
echo "Bashio installed" echo "Bashio installed"
fi fi

View File

@@ -3,7 +3,7 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
@@ -59,4 +59,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
echo 'WebUI\LocalHostAuth=false' >>/defaults/qBittorrent.conf \ echo 'WebUI\LocalHostAuth=false' >>/defaults/qBittorrent.conf \
>>/defaults/qBittorrent.conf >>/defaults/qBittorrent.conf
) >/dev/null
echo "Bashio installed"
fi fi

View File

@@ -2,7 +2,7 @@
# If dockerfile failed install manually # If dockerfile failed install manually
if [ ! -f "/usr/bin/bashio" ]; then if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio does not exist, executing script" echo "Bashio does not exist, executing script"
(
################ ################
# Install apps # # Install apps #
################ ################
@@ -29,6 +29,6 @@ if [ ! -f "/usr/bin/bashio" ]; then
mv /tmp/bashio/lib /usr/lib/bashio mv /tmp/bashio/lib /usr/lib/bashio
ln -s /usr/lib/bashio/bashio /usr/bin/bashio ln -s /usr/lib/bashio/bashio /usr/bin/bashio
rm -rf /tmp/bashio rm -rf /tmp/bashio
) >/dev/null
echo "Bashio installed" echo "Bashio installed"
fi fi