This commit is contained in:
Gerhard Hoffmann 2023-05-25 15:04:51 +02:00
parent affc74e711
commit e0d813b34a

View File

@ -14,5 +14,7 @@ if [ -f $ch_file ]; then
if ! grep -Eq "\"$line\"" $ch_file; then if ! grep -Eq "\"$line\"" $ch_file; then
echo $line >> $ch_file echo $line >> $ch_file
echo "DOWNLOAD, /etc/dc/dc2c.4.21.bin, $(date +%Y-%m-%dT%T), N/A" >> $update_log_file echo "DOWNLOAD, /etc/dc/dc2c.4.21.bin, $(date +%Y-%m-%dT%T), N/A" >> $update_log_file
else
echo "Found $line. Do nothing"
fi fi
fi fi