mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Update changedetection.sh
if libjpeg-dev is not installed, install it
This commit is contained in:
		@@ -56,6 +56,10 @@ function update_script() {
 | 
			
		||||
header_info
 | 
			
		||||
if [[ ! -f /etc/systemd/system/changedetection.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
msg_info "Updating ${APP} LXC"
 | 
			
		||||
if ! dpkg -s libjpeg-dev >/dev/null 2>&1; then
 | 
			
		||||
  apt-get update
 | 
			
		||||
  apt-get install -y libjpeg-dev
 | 
			
		||||
fi
 | 
			
		||||
pip3 install changedetection.io --upgrade &>/dev/null
 | 
			
		||||
pip3 install playwright --upgrade &>/dev/null
 | 
			
		||||
systemctl restart changedetection
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user