mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-03 22:20:28 +03:00 
			
		
		
		
	init: no error if examples/ dir cannot be found; overhaul repo_icon
There are so many possible installation paths for Python modules, it has been very hard to even find and test them all. This adds a fallback option if the examples dir cannot be found. A repo can work without an icon or the example config.py. This removes the fake assumption that the icon can be a full path in the config.py. While the path was being properly passed through to the index file, the file was never copied properly into place nor rsynced to the web server.
This commit is contained in:
		
							parent
							
								
									b655d20d6b
								
							
						
					
					
						commit
						5ae2703477
					
				
					 12 changed files with 31 additions and 31 deletions
				
			
		| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
    "timestamp": 1502845383782,
 | 
			
		||||
    "version": 20000,
 | 
			
		||||
    "name": "My First F-Droid Repo Demo",
 | 
			
		||||
    "icon": "fdroid-icon.png",
 | 
			
		||||
    "icon": "icon.png",
 | 
			
		||||
    "address": "https://MyFirstFDroidRepo.org/fdroid/repo",
 | 
			
		||||
    "description": "This is a repository of apps to be used with F-Droid. Applications in this repository are either official binaries built by the original application developers, or are binaries built from source by the admin of f-droid.org using the tools on https://gitlab.com/u/fdroid.",
 | 
			
		||||
    "mirrors": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue