mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Update paperless-ngx-install.sh
This commit is contained in:
		@@ -61,19 +61,13 @@ $STD apt-get install -y \
 | 
				
			|||||||
  tesseract-ocr \
 | 
					  tesseract-ocr \
 | 
				
			||||||
  tesseract-ocr-eng
 | 
					  tesseract-ocr-eng
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "deb http://deb.debian.org/debian trixie main" |  tee /etc/apt/sources.list.d/trixie.list >/dev/null
 | 
					cd /tmp
 | 
				
			||||||
$STD cat <<EOF | sudo tee /etc/apt/preferences.d/ghostscript
 | 
					wget -q https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10040/ghostscript-10.04.0.tar.gz
 | 
				
			||||||
Package: *
 | 
					$STD tar -xzf ghostscript-10.04.0.tar.gz
 | 
				
			||||||
Pin: release n=trixie
 | 
					cd ghostscript-10.04.0
 | 
				
			||||||
Pin-Priority: 100
 | 
					$STD ./configure
 | 
				
			||||||
 | 
					$STD make
 | 
				
			||||||
Package: ghostscript
 | 
					$STD sudo make install
 | 
				
			||||||
Pin: release n=trixie
 | 
					 | 
				
			||||||
Pin-Priority: 990
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
$STD apt-get update
 | 
					 | 
				
			||||||
$STD echo "libc6 libraries/restart-without-asking boolean true" | sudo debconf-set-selections
 | 
					 | 
				
			||||||
DEBIAN_FRONTEND=noninteractive apt install -t trixie ghostscript -y -qq
 | 
					 | 
				
			||||||
msg_ok "Installed OCR Dependencies"
 | 
					msg_ok "Installed OCR Dependencies"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing JBIG2"
 | 
					msg_info "Installing JBIG2"
 | 
				
			||||||
@@ -235,6 +229,7 @@ customize
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
msg_info "Cleaning up"
 | 
					msg_info "Cleaning up"
 | 
				
			||||||
rm -rf /opt/paperless/docker
 | 
					rm -rf /opt/paperless/docker
 | 
				
			||||||
 | 
					rm -rf /tmp/ghostscript*
 | 
				
			||||||
$STD apt-get -y autoremove
 | 
					$STD apt-get -y autoremove
 | 
				
			||||||
$STD apt-get -y autoclean
 | 
					$STD apt-get -y autoclean
 | 
				
			||||||
msg_ok "Cleaned"
 | 
					msg_ok "Cleaned"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user