mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Fix: Memos update function (#1207)
This commit is contained in:
		@@ -34,6 +34,7 @@ function update_script() {
 | 
			
		||||
  fi
 | 
			
		||||
  msg_info "Updating $APP (Patience)"
 | 
			
		||||
  cd /opt/memos
 | 
			
		||||
  git reset --hard HEAD
 | 
			
		||||
  output=$(git pull --no-rebase)
 | 
			
		||||
  if echo "$output" | grep -q "Already up to date."; then
 | 
			
		||||
    msg_ok "$APP is already up to date."
 | 
			
		||||
@@ -60,4 +61,4 @@ description
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
			
		||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
			
		||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9030${CL}"
 | 
			
		||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9030${CL}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user