mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Fix sqlite3 failing to build (#3542)
This commit is contained in:
		@@ -27,6 +27,13 @@ function update_script() {
 | 
				
			|||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					  if ! dpkg -l build-essential >/dev/null 2>&1; then
 | 
				
			||||||
 | 
					    $STD apt-get update
 | 
				
			||||||
 | 
					    $STD apt-get install -y build-essential
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					  if ! npm list -g node-gyp >/dev/null 2>&1; then
 | 
				
			||||||
 | 
					    $STD npm install -g node-gyp
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
  RELEASE=$(curl -s https://api.github.com/repos/thelounge/thelounge-deb/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
					  RELEASE=$(curl -s https://api.github.com/repos/thelounge/thelounge-deb/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
				
			||||||
  if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
 | 
					  if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
 | 
				
			||||||
    msg_info "Stopping Service"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
@@ -61,4 +68,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9000${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9000${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,9 @@ network_check
 | 
				
			|||||||
update_os
 | 
					update_os
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Dependencies"
 | 
					msg_info "Installing Dependencies"
 | 
				
			||||||
$STD apt-get install -y gpg
 | 
					$STD apt-get install -y \
 | 
				
			||||||
 | 
					  gpg \
 | 
				
			||||||
 | 
					  build-essential
 | 
				
			||||||
msg_ok "Installed Dependencies"
 | 
					msg_ok "Installed Dependencies"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Setting up Node.js Repository"
 | 
					msg_info "Setting up Node.js Repository"
 | 
				
			||||||
@@ -27,6 +29,7 @@ msg_info "Installing Node.js"
 | 
				
			|||||||
$STD apt-get update
 | 
					$STD apt-get update
 | 
				
			||||||
$STD apt-get install -y nodejs
 | 
					$STD apt-get install -y nodejs
 | 
				
			||||||
$STD npm install --global yarn
 | 
					$STD npm install --global yarn
 | 
				
			||||||
 | 
					$STD npm install --global node-gyp
 | 
				
			||||||
msg_ok "Installed Node.js"
 | 
					msg_ok "Installed Node.js"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing The Lounge"
 | 
					msg_info "Installing The Lounge"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user