|  | @@ -6,6 +6,14 @@
 | 
	
		
			
			| 6 | 6 |  # =====BEGIN BUILT PART=====
 | 
	
		
			
			| 7 | 7 |  #
 | 
	
		
			
			| 8 | 8 |  
 | 
	
		
			
			|  | 9 | +inigrep_modules() {
 | 
	
		
			
			|  | 10 | +    #
 | 
	
		
			
			|  | 11 | +    # Find existing modules (ini.d sub-folders)
 | 
	
		
			
			|  | 12 | +    #
 | 
	
		
			
			|  | 13 | +    test -d "$1" || return 0
 | 
	
		
			
			|  | 14 | +    find -L "$1" -mindepth 1 -maxdepth 1 -type d
 | 
	
		
			
			|  | 15 | +}
 | 
	
		
			
			|  | 16 | +
 | 
	
		
			
			| 9 | 17 |  inigrep_paths() {
 | 
	
		
			
			| 10 | 18 |      #
 | 
	
		
			
			| 11 | 19 |      # Assemble list of config paths for FFOO_CONFIG_PATH (path per line)
 | 
	
	
		
			
			|  | @@ -18,10 +26,10 @@ inigrep_paths() {
 | 
	
		
			
			| 18 | 26 |      user="__SATURNIN_CONFIG_USER__"
 | 
	
		
			
			| 19 | 27 |      lcal="__SATURNIN_CONFIG_LOCAL__"
 | 
	
		
			
			| 20 | 28 |      distd="__SATURNIN_SHARE__/ini.d"
 | 
	
		
			
			| 21 |  | -    test -d "$userd" && find -L "$userd" -mindepth 1 -maxdepth 1 -type d
 | 
	
		
			
			|  | 29 | +    inigrep_modules "$userd"
 | 
	
		
			
			| 22 | 30 |      echo "$user"
 | 
	
		
			
			| 23 | 31 |      echo "$lcal"
 | 
	
		
			
			| 24 |  | -    test -d "$distd" && find -L "$distd" -mindepth 1 -maxdepth 1 -type d
 | 
	
		
			
			|  | 32 | +    inigrep_modules "$distd"
 | 
	
		
			
			| 25 | 33 |  }
 | 
	
		
			
			| 26 | 34 |  
 | 
	
		
			
			| 27 | 35 |  export FFOO_PATH FFOO_CONFIG_PATH SATURNIN_VERSION SATURNIN_CACHE_HOME
 |