mirror of
				https://github.com/linuxserver/docker-transmission.git
				synced 2025-10-31 08:55:47 +01:00 
			
		
		
		
	Added the missing UMASK section.
See https://github.com/linuxserver/docker-transmission/issues/272
This commit is contained in:
		| @@ -41,6 +41,10 @@ if [[ -n "${PEERPORT}" ]]; then | ||||
|     sed -i '/peer-port-random-on-start/c\     "peer-port-random-on-start": false,' /config/settings.json | ||||
| fi | ||||
|  | ||||
| if [[ -n "${UMASK}" ]]; then | ||||
|     sed -i "/\"umask\"/c\    \"umask\": ${UMASK}," /config/settings.json | ||||
| fi | ||||
|  | ||||
| # Handle old theme locations | ||||
| mkdir -p {/transmissionic,/combustion-release,/flood-for-transmission,/kettu,/transmission-web-control} | ||||
| echo /transmissionic /combustion-release /flood-for-transmission /kettu /transmission-web-control | xargs -n1 ln -s /defaults/index.html | ||||
|   | ||||
		Reference in New Issue
	
	Block a user