mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-28 10:16:06 +02:00
Update automatic_packages.sh
This commit is contained in:
@@ -53,7 +53,7 @@ if ls /etc/nginx 1> /dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Scripts
|
# Scripts
|
||||||
for files in "/etc/cont-init.d" "/scripts"; do
|
for files in "/etc/cont-init.d" "/etc/services.d" "/scripts"; do
|
||||||
# Next directory if does not exists
|
# Next directory if does not exists
|
||||||
if ! ls $files 1> /dev/null 2>&1; then continue; fi
|
if ! ls $files 1> /dev/null 2>&1; then continue; fi
|
||||||
|
|
||||||
@@ -137,7 +137,7 @@ fi
|
|||||||
# INSTALL MANUAL APPS #
|
# INSTALL MANUAL APPS #
|
||||||
#######################
|
#######################
|
||||||
|
|
||||||
for files in "/scripts" "/etc/cont-init.d"; do
|
for files in "/etc/cont-init.d" "/etc/services.d" "/scripts"; do
|
||||||
|
|
||||||
# Next directory if does not exists
|
# Next directory if does not exists
|
||||||
if ! ls $files 1> /dev/null 2>&1; then continue; fi
|
if ! ls $files 1> /dev/null 2>&1; then continue; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user