mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-07 16:15:55 +02:00
Update 99-run.sh
This commit is contained in:
@@ -86,7 +86,7 @@ function check_path () {
|
|||||||
cp "$file" /tmpfile
|
cp "$file" /tmpfile
|
||||||
|
|
||||||
# Loop through each line of the input file
|
# Loop through each line of the input file
|
||||||
while read line
|
while read -r line
|
||||||
do
|
do
|
||||||
# Check if the line contains a txt file
|
# Check if the line contains a txt file
|
||||||
if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then
|
if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user