mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Apply fixes from Shellcheck via https://lift.sonatype.com
This commit is contained in:
		
							parent
							
								
									d1dc39ad3b
								
							
						
					
					
						commit
						1fff20aad8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -3,7 +3,7 @@
 | 
				
			||||||
base='https://fonts\.(gstatic\.com|kavin\.rocks)'
 | 
					base='https://fonts\.(gstatic\.com|kavin\.rocks)'
 | 
				
			||||||
fonts=$(cat dist/assets/* | grep -Po "$base[^)]*" | sort | uniq)
 | 
					fonts=$(cat dist/assets/* | grep -Po "$base[^)]*" | sort | uniq)
 | 
				
			||||||
for font in $fonts; do
 | 
					for font in $fonts; do
 | 
				
			||||||
	file="dist/fonts$(echo $font | sed -E "s#$base##")"
 | 
						file="dist/fonts$(echo "$font" | sed -E "s#$base##")"
 | 
				
			||||||
	mkdir -p "$(dirname "$file")"
 | 
						mkdir -p "$(dirname "$file")"
 | 
				
			||||||
	curl -L "$font" -o "$file"
 | 
						curl -L "$font" -o "$file"
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue