mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 18:22:40 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			485 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			485 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| set -eu
 | |
| 
 | |
| for command in decrypt_documents \
 | |
| 	document_archiver \
 | |
| 	document_exporter \
 | |
| 	document_importer \
 | |
| 	mail_fetcher \
 | |
| 	document_create_classifier \
 | |
| 	document_index \
 | |
| 	document_renamer \
 | |
| 	document_retagger \
 | |
| 	document_thumbnails \
 | |
| 	document_sanity_checker \
 | |
| 	document_fuzzy_match \
 | |
| 	manage_superuser;
 | |
| do
 | |
| 	echo "installing $command..."
 | |
| 	sed "s/management_command/$command/g" management_script.sh > /usr/local/bin/$command
 | |
| 	chmod +x /usr/local/bin/$command
 | |
| done
 |