removed downloading of tariff-files. removed downloading of dc.hex files (only dc.bin-files are downloaded)
This commit is contained in:
		@@ -30,7 +30,7 @@ get_commit_for_blob () {
 | 
				
			|||||||
write_log_file () {
 | 
					write_log_file () {
 | 
				
			||||||
    local now=$(date +"%Y-%m-%dT%T")
 | 
					    local now=$(date +"%Y-%m-%dT%T")
 | 
				
			||||||
    for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
 | 
					    for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
 | 
				
			||||||
        if grep -qE "(DC.*json|dc.*hex|dc.*bin|tariff.*json)" <<< $fn; then
 | 
					        if grep -qE "(DC2C.*json|dc2c.*bin)" <<< $fn; then
 | 
				
			||||||
            # called in repository: $fn is e.g. etc/psa_tariff/tariff01.json
 | 
					            # called in repository: $fn is e.g. etc/psa_tariff/tariff01.json
 | 
				
			||||||
            # add '/' prefix
 | 
					            # add '/' prefix
 | 
				
			||||||
            echo "DOWNLOAD, $(echo $fn | awk '{ printf "/"$0 }'), $now, N/A" >> "$GIT_UPDATE_LOG"
 | 
					            echo "DOWNLOAD, $(echo $fn | awk '{ printf "/"$0 }'), $now, N/A" >> "$GIT_UPDATE_LOG"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user