mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 14:31:02 +00:00 
			
		
		
		
	Replace GOGS with GITEA in variable names
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables as a fallback if the equivalent GITEA_* are not set, warning user about the need for change. Does not change "gogs" to "gitea" in webhook type name Because "gogs" hook type is part of the API (routes) and used in templates... Closes #87
This commit is contained in:
		
					parent
					
						
							
								1b962bac0b
							
						
					
				
			
			
				commit
				
					
						b7263f31a5
					
				
			
		
					 10 changed files with 44 additions and 28 deletions
				
			
		|  | @ -6,7 +6,7 @@ if ! test -d ~git/.ssh; then | |||
| fi | ||||
| 
 | ||||
| if ! test -f ~git/.ssh/environment; then | ||||
|     echo "GOGS_CUSTOM=${GOGS_CUSTOM}" > ~git/.ssh/environment | ||||
|     echo "GITEA_CUSTOM=${GITEA_CUSTOM}" > ~git/.ssh/environment | ||||
|     chmod 600 ~git/.ssh/environment | ||||
| fi | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue