mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
fixed config location for jacket and for bashio fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ ! -d /share/storage/movies ]; then
|
if [ ! -d /share/storage/movies ]; then
|
||||||
echo "Creating /share/storage/movies"
|
echo "Creating /share/storage/movies"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ ! -d /emby ]; then
|
if [ ! -d /emby ]; then
|
||||||
echo "Creating /emby"
|
echo "Creating /emby"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ -d /config/filebrowser ]; then
|
if [ -d /config/filebrowser ]; then
|
||||||
echo "Moving to new location /config/addons_config/filebrowser"
|
echo "Moving to new location /config/addons_config/filebrowser"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
slug=flexget
|
slug=flexget
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -22,8 +22,7 @@ FROM ${BUILD_FROM}
|
|||||||
##################
|
##################
|
||||||
|
|
||||||
# use /data instead of /config for hass.io environment
|
# use /data instead of /config for hass.io environment
|
||||||
RUN sed -i "s|/config|/config/addons_config/Jackett|g" /etc/services.d/jackett/run \
|
RUN sed -i "s|/config|/config/addons_config/Jackett|g" /etc/cont-init.d/30-config \
|
||||||
&& sed -i "s|/config|/config/addons_config/Jackett|g" /etc/cont-init.d/30-config \
|
|
||||||
\
|
\
|
||||||
# Allow UID and GID setting
|
# Allow UID and GID setting
|
||||||
&& sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
&& sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
||||||
@@ -31,8 +30,7 @@ RUN sed -i "s|/config|/config/addons_config/Jackett|g" /etc/services.d/jackett/r
|
|||||||
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser
|
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser
|
||||||
|
|
||||||
# Changes config directory
|
# Changes config directory
|
||||||
ENV XDG_DATA_HOME="/config/addons_config" \
|
ENV XDG_CONFIG_HOME="/config/addons_config"
|
||||||
XDG_CONFIG_HOME="/config/addons_config"
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# 3 Install apps #
|
# 3 Install apps #
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ ! -d /share/storage/movies ]; then
|
|
||||||
echo "Creating /share/storage/movies"
|
|
||||||
mkdir -p /share/storage/movies
|
|
||||||
chown -R abc:abc /share/storage/movies
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -d /share/downloads ]; then
|
if [ ! -d /share/downloads ]; then
|
||||||
echo "Creating /share/downloads"
|
echo "Creating /share/downloads"
|
||||||
@@ -18,6 +12,7 @@ if [ -d /config/Jackett ] && [ ! -d /config/addons_config/Jackett ]; then
|
|||||||
chown -R abc:abc /config/addons_config/Jackett
|
chown -R abc:abc /config/addons_config/Jackett
|
||||||
mv /config/Jackett/* /config/addons_config/Jackett/
|
mv /config/Jackett/* /config/addons_config/Jackett/
|
||||||
rm -r /config/Jackett
|
rm -r /config/Jackett
|
||||||
|
rm -r /config/jackett
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d /config/addons_config/Jackett ]; then
|
if [ ! -d /config/addons_config/Jackett ]; then
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
for disk in ${MOREDISKS//,/ }; do # Separate comma separated values
|
for disk in ${MOREDISKS//,/ }; do # Separate comma separated values
|
||||||
|
|
||||||
# Clean name of network share
|
# Clean name of network share
|
||||||
disk=$(echo $disk | sed "s,/$,,") # Remove / at end of name
|
disk=$(echo "$disk" | sed "s,/$,,") # Remove / at end of name
|
||||||
diskname=${disk//\\//} #replace \ with /
|
diskname=${disk//\\//} #replace \ with /
|
||||||
diskname=${diskname##*/} # Get only last part of the name
|
diskname=${diskname##*/} # Get only last part of the name
|
||||||
|
|
||||||
@@ -37,18 +37,18 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Prepare mount point
|
# Prepare mount point
|
||||||
mkdir -p /mnt/$diskname
|
mkdir -p /mnt/"$diskname"
|
||||||
chown -R root:root /mnt/$diskname
|
chown -R root:root /mnt/"$diskname"
|
||||||
|
|
||||||
#Tries to mount with default options
|
#Tries to mount with default options
|
||||||
mount -t cifs -o rw,username=$CIFS_USERNAME,password=${CIFS_PASSWORD}$DOMAIN $disk /mnt/$diskname 2>ERRORCODE && MOUNTED=true || MOUNTED=false
|
mount -t cifs -o rw,username="$CIFS_USERNAME",password="${CIFS_PASSWORD}""$DOMAIN" "$disk" /mnt/"$diskname" 2>ERRORCODE && MOUNTED=true || MOUNTED=false
|
||||||
|
|
||||||
# if Fail test different smb and sec versions
|
# if Fail test different smb and sec versions
|
||||||
if [ $MOUNTED = false ]; then
|
if [ $MOUNTED = false ]; then
|
||||||
for SMBVERS in ",vers=3" ",vers=1.0" ",vers=2.1" ",vers=3.0" ",nodfs" ",uid=0,gid=0,forceuid,forcegid" ",noforceuid,noforcegid" ",${DOMAIN:-WORKGROUP}"; do
|
for SMBVERS in ",vers=3" ",vers=1.0" ",vers=2.1" ",vers=3.0" ",nodfs" ",uid=0,gid=0,forceuid,forcegid" ",noforceuid,noforcegid" ",${DOMAIN:-WORKGROUP}"; do
|
||||||
mount -t cifs -o rw,file_mode=0777,dir_mode=0777,username=$CIFS_USERNAME,password=${CIFS_PASSWORD}$SMBVERS $disk /mnt/$diskname 2>/dev/null && MOUNTED=true && break || MOUNTED=false
|
mount -t cifs -o rw,file_mode=0777,dir_mode=0777,username="$CIFS_USERNAME",password="${CIFS_PASSWORD}"$SMBVERS "$disk" /mnt/"$diskname" 2>/dev/null && MOUNTED=true && break || MOUNTED=false
|
||||||
for SECVERS in ",sec=ntlmi" ",sec=ntlmv2" ",sec=ntlmv2i" ",sec=ntlmssp" ",sec=ntlmsspi" ",sec=ntlm" ",sec=krb5i" ",sec=krb5" ",iocharset=utf8"; do
|
for SECVERS in ",sec=ntlmi" ",sec=ntlmv2" ",sec=ntlmv2i" ",sec=ntlmssp" ",sec=ntlmsspi" ",sec=ntlm" ",sec=krb5i" ",sec=krb5" ",iocharset=utf8"; do
|
||||||
mount -t cifs -o rw,file_mode=0777,dir_mode=0777,username=$CIFS_USERNAME,password=${CIFS_PASSWORD}$SMBVERS$SECVERS $disk /mnt/$disk name 2>/dev/null && MOUNTED=true && break 2 && break || MOUNTED=false
|
mount -t cifs -o rw,file_mode=0777,dir_mode=0777,username="$CIFS_USERNAME",password="${CIFS_PASSWORD}"$SMBVERS$SECVERS "$disk" /mnt/"$disk" name 2>/dev/null && MOUNTED=true && break 2 && break || MOUNTED=false
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@@ -56,7 +56,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
# Messages
|
# Messages
|
||||||
if [ $MOUNTED = true ] && [ "mountpoint -q /mnt/$diskname" ]; then
|
if [ $MOUNTED = true ] && [ "mountpoint -q /mnt/$diskname" ]; then
|
||||||
#Test write permissions
|
#Test write permissions
|
||||||
touch /mnt/$diskname/testaze && rm /mnt/$diskname/testaze &&
|
touch /mnt/"$diskname"/testaze && rm /mnt/"$diskname"/testaze &&
|
||||||
bashio::log.info "... $disk successfully mounted to /mnt/$diskname with options $SMBVERS$SECVERS" ||
|
bashio::log.info "... $disk successfully mounted to /mnt/$diskname with options $SMBVERS$SECVERS" ||
|
||||||
bashio::log.fatal "Disk is mounted, however unable to write in the shared disk. Please check UID/GID for permissions, and if the share is rw"
|
bashio::log.fatal "Disk is mounted, however unable to write in the shared disk. Please check UID/GID for permissions, and if the share is rw"
|
||||||
|
|
||||||
@@ -68,15 +68,15 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
# Provide debugging info
|
# Provide debugging info
|
||||||
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
|
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
|
||||||
#smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
|
#smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
|
||||||
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
|
smbclient -L "$disk" -U "$CIFS_USERNAME"%"$CIFS_PASSWORD" || true
|
||||||
|
|
||||||
# Error code
|
# Error code
|
||||||
bashio::log.fatal "Error read : $(<ERRORCODE)"
|
bashio::log.fatal "Error read : $(<ERRORCODE)"
|
||||||
rm ERRORCODE
|
rm ERRORCODE
|
||||||
|
|
||||||
# clean folder
|
# clean folder
|
||||||
umount /mnt/$diskname 2>/dev/null || true
|
umount /mnt/"$diskname" 2>/dev/null || true
|
||||||
rmdir /mnt/$diskname || true
|
rmdir /mnt/"$diskname" || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ ! -d /jellyfin ]; then
|
if [ ! -d /jellyfin ]; then
|
||||||
echo "Creating /jellyfin"
|
echo "Creating /jellyfin"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ ! -d /share/music ]; then
|
if [ ! -d /share/music ]; then
|
||||||
echo "Creating /share/music"
|
echo "Creating /share/music"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
slug=nzbget
|
slug=nzbget
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
slug=ombi
|
slug=ombi
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ ! -d /data/organizr ]; then
|
if [ ! -d /data/organizr ]; then
|
||||||
echo "Creating /data/organizr"
|
echo "Creating /data/organizr"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
slug=paperless
|
slug=paperless
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Installing pikepdf..."
|
echo "Installing pikepdf..."
|
||||||
(
|
(
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# 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"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# SYMLINK CONFIG #
|
# SYMLINK CONFIG #
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# SYMLINK CONFIG #
|
# SYMLINK CONFIG #
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
if [ -e "/PORTFILE" ]; then
|
if [ -e "/PORTFILE" ]; then
|
||||||
echo "Installing portainer..."
|
echo "Installing portainer..."
|
||||||
BUILD_UPSTREAM=$(</PORTFILE)
|
BUILD_UPSTREAM=$(</PORTFILE)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ -d /config/prowlarr ]; then
|
if [ -d /config/prowlarr ]; then
|
||||||
echo "Moving to new location /config/addons_config/prowlarr"
|
echo "Moving to new location /config/addons_config/prowlarr"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ ! -d /share/storage/movies ]; then
|
if [ ! -d /share/storage/movies ]; then
|
||||||
echo "Creating /share/storage/movies"
|
echo "Creating /share/storage/movies"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
if [ ! -d /share/storage/movies ]; then
|
if [ ! -d /share/storage/movies ]; then
|
||||||
echo "Creating /share/storage/movies"
|
echo "Creating /share/storage/movies"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
slug=ubooquity
|
slug=ubooquity
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ -e "/ENVFILE" ]; then
|
if [ -e "/ENVFILE" ]; then
|
||||||
echo "Executing script"
|
echo "Executing script"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
# Color comments
|
# Color comments
|
||||||
#! Red
|
#! Red
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
########
|
########
|
||||||
# INIT #
|
# INIT #
|
||||||
|
|||||||
Reference in New Issue
Block a user