mirror of
				https://github.com/Jonny007-MKD/OTR-DecodeAll
				synced 2025-11-03 16:15:36 +01:00 
			
		
		
		
	Add checkConfig.sh
This commit is contained in:
		
							parent
							
								
									b6f0d40304
								
							
						
					
					
						commit
						74ca86e5aa
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								checkConfig.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								checkConfig.sh
									
									
									
									
									
										Executable file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function addLabel {
 | 
				
			||||||
 | 
						if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" ]; then
 | 
				
			||||||
 | 
							echo "Not enough arguments to addLabel"
 | 
				
			||||||
 | 
							exit 1;
 | 
				
			||||||
 | 
						fi
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source "$1"
 | 
				
			||||||
 | 
					funcConfigPre
 | 
				
			||||||
 | 
					funcConfigPost
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue