mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-11-04 11:27:37 +01:00 
			
		
		
		
	deb-update.bash: actually use LC_ALL and note it being poor practice
This commit is contained in:
		
							parent
							
								
									281cf1b07b
								
							
						
					
					
						commit
						c81808ee26
					
				@ -8,7 +8,9 @@ set -x
 | 
			
		||||
# English (US) is generally installed everywhere, flatpak and packagekit use
 | 
			
		||||
# weird glyphs unavailable in C and C.utf8 is a RedHattism, which Debian
 | 
			
		||||
# side of the family doesn't recognise.
 | 
			
		||||
export LANG=en_US.utf8
 | 
			
		||||
#export LANG=en_US.utf8
 | 
			
		||||
# This is said to be a poor practice that should only be used for debugging
 | 
			
		||||
export LC_ALL=en_US.utf8
 | 
			
		||||
 | 
			
		||||
# if hash checks that the command exists
 | 
			
		||||
if hash apt-get 2>/dev/null; then
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user