mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									778c58f49e
								
							
						
					
					
						commit
						946114f59e
					
				| 
						 | 
					@ -56,8 +56,8 @@ if [[ ! -d /opt/linkwarden ]]; then msg_error "No ${APP} Installation Found!"; e
 | 
				
			||||||
msg_info "Updating $APP"
 | 
					msg_info "Updating $APP"
 | 
				
			||||||
systemctl stop linkwarden
 | 
					systemctl stop linkwarden
 | 
				
			||||||
cd /opt/linkwarden
 | 
					cd /opt/linkwarden
 | 
				
			||||||
if git pull | grep 'Already up to date'; then
 | 
					if git pull | grep -q 'Already up to date'; then
 | 
				
			||||||
  echo -e "Exiting script.${CL}"
 | 
					  msg_ok "Already up to date"
 | 
				
			||||||
  systemctl start linkwarden
 | 
					  systemctl start linkwarden
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue