mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 17:21:56 +02:00
Avoid error if file doesnt exist
This commit is contained in:
@@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
for file in /data/gitea/conf/app.ini /etc/templates/app.ini; do
|
for file in /data/gitea/conf/app.ini /etc/templates/app.ini; do
|
||||||
|
|
||||||
|
if [ ! -f "$file" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
##############
|
##############
|
||||||
# OTHER CONF #
|
# OTHER CONF #
|
||||||
##############
|
##############
|
||||||
|
|||||||
Reference in New Issue
Block a user