Merge branch 'zg1/zone1' of git.mimbach49.de:GerhardHoffmann/customer_281 into zg1/zone1
This commit is contained in:
		@@ -30,12 +30,14 @@ 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" <<< $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"
 | 
				
			||||||
        fi
 | 
					        elif grep -qE "dc2c.bin" <<< $fn; then
 | 
				
			||||||
        if grep -qE ".*opkg_commands" <<< $fn; then
 | 
					            # download the file referenced by the link dc2c.bin
 | 
				
			||||||
 | 
					            echo "DOWNLOAD, "/etc/dc/dc2c.bin", $now, N/A" >> "$GIT_UPDATE_LOG"
 | 
				
			||||||
 | 
					        elif grep -qE ".*opkg_commands" <<< $fn; then
 | 
				
			||||||
            readarray opkg_commands < <(cat $fn)
 | 
					            readarray opkg_commands < <(cat $fn)
 | 
				
			||||||
            for opkg_c in "${opkg_commands[@]}"; do
 | 
					            for opkg_c in "${opkg_commands[@]}"; do
 | 
				
			||||||
                # check for lines longer than 'opkg '
 | 
					                # check for lines longer than 'opkg '
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								etc/dc/dc2c.4.22.bin
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								etc/dc/dc2c.4.22.bin
									
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										1
									
								
								etc/dc/dc2c.bin
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								etc/dc/dc2c.bin
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					dc2c.4.22.bin
 | 
				
			||||||
							
								
								
									
										6324
									
								
								etc/dc/dc2c.hex
									
									
									
									
									
								
							
							
						
						
									
										6324
									
								
								etc/dc/dc2c.hex
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user