mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-07 11:52:49 +00:00
Compare commits
4 Commits
ProxmoxVED
...
github-act
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e90907748 | ||
|
|
9c7d09d368 | ||
|
|
a4c8a315cc | ||
|
|
faeedc729e |
@@ -20,6 +20,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Update script URLs to ProxmoxVE repository [@MickLesk](https://github.com/MickLesk) ([#8946](https://github.com/community-scripts/ProxmoxVE/pull/8946))
|
||||
- tools.func: fix amd64 arm64 mismatch [@MickLesk](https://github.com/MickLesk) ([#8943](https://github.com/community-scripts/ProxmoxVE/pull/8943))
|
||||
- ghostfolio: refactor CoinGecko key prompts in installer [@MickLesk](https://github.com/MickLesk) ([#8935](https://github.com/community-scripts/ProxmoxVE/pull/8935))
|
||||
- flaresolverr: pin release to 3.4.3 [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8937](https://github.com/community-scripts/ProxmoxVE/pull/8937))
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/refs/heads/main/misc/build.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/refs/heads/main/misc/build.func)
|
||||
# Copyright (c) 2021-2025 community-scripts ORG
|
||||
# Author: dkuku
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
|
||||
@@ -427,7 +427,12 @@ manage_tool_repository() {
|
||||
suite=$(get_fallback_suite "$distro_id" "$distro_codename" "$repo_url/$distro_id")
|
||||
|
||||
# Setup new repository using deb822 format
|
||||
setup_deb822_repo "mariadb" "$gpg_key_url" "$repo_url/$distro_id" "$suite" "main" "amd64 arm64" || return 1
|
||||
setup_deb822_repo \
|
||||
"mariadb" \
|
||||
"$gpg_key_url" \
|
||||
"$repo_url/$distro_id" \
|
||||
"$suite" \
|
||||
"main"
|
||||
return 0
|
||||
;;
|
||||
|
||||
@@ -504,7 +509,7 @@ Types: deb
|
||||
URIs: ${repo_url}
|
||||
Suites: ${suite}/mongodb-org/${version}
|
||||
Components: ${repo_component}
|
||||
Architectures: amd64 arm64
|
||||
Architectures: $(dpkg --print-architecture)
|
||||
Signed-By: /etc/apt/keyrings/mongodb-server-${version}.gpg
|
||||
EOF
|
||||
return 0
|
||||
@@ -536,7 +541,7 @@ Types: deb
|
||||
URIs: $repo_url
|
||||
Suites: nodistro
|
||||
Components: main
|
||||
Architectures: amd64 arm64
|
||||
Architectures: $(dpkg --print-architecture)
|
||||
Signed-By: /etc/apt/keyrings/nodesource.gpg
|
||||
EOF
|
||||
return 0
|
||||
@@ -570,7 +575,7 @@ Types: deb
|
||||
URIs: https://packages.sury.org/php
|
||||
Suites: $distro_codename
|
||||
Components: main
|
||||
Architectures: amd64 arm64
|
||||
Architectures: $(dpkg --print-architecture)
|
||||
Signed-By: /usr/share/keyrings/deb.sury.org-php.gpg
|
||||
EOF
|
||||
return 0
|
||||
@@ -601,7 +606,7 @@ Types: deb
|
||||
URIs: http://apt.postgresql.org/pub/repos/apt
|
||||
Suites: $distro_codename-pgdg
|
||||
Components: main
|
||||
Architectures: amd64 arm64
|
||||
Architectures: $(dpkg --print-architecture)
|
||||
Signed-By: /etc/apt/keyrings/postgresql.gpg
|
||||
EOF
|
||||
return 0
|
||||
@@ -1202,7 +1207,7 @@ setup_deb822_repo() {
|
||||
local repo_url="$3"
|
||||
local suite="$4"
|
||||
local component="${5:-main}"
|
||||
local architectures="${6:-amd64 arm64}"
|
||||
local architectures="${6:-$(dpkg --print-architecture)}"
|
||||
|
||||
# Validate required parameters
|
||||
if [[ -z "$name" || -z "$gpg_url" || -z "$repo_url" || -z "$suite" ]]; then
|
||||
@@ -2780,8 +2785,7 @@ function setup_java() {
|
||||
"https://packages.adoptium.net/artifactory/api/gpg/key/public" \
|
||||
"https://packages.adoptium.net/artifactory/deb" \
|
||||
"$SUITE" \
|
||||
"main" \
|
||||
"amd64 arm64"
|
||||
"main"
|
||||
fi
|
||||
|
||||
# Get currently installed version
|
||||
@@ -3233,12 +3237,12 @@ function setup_mysql() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
cat >/etc/apt/sources.list.d/mysql.sources <<'EOF'
|
||||
cat >/etc/apt/sources.list.d/mysql.sources <<EOF
|
||||
Types: deb
|
||||
URIs: https://repo.mysql.com/apt/debian/
|
||||
Suites: bookworm
|
||||
Components: mysql-8.4-lts
|
||||
Architectures: amd64 arm64
|
||||
Architectures: $(dpkg --print-architecture)
|
||||
Signed-By: /etc/apt/keyrings/mysql.gpg
|
||||
EOF
|
||||
|
||||
@@ -3746,8 +3750,7 @@ function setup_postgresql() {
|
||||
"https://www.postgresql.org/media/keys/ACCC4CF8.asc" \
|
||||
"https://apt.postgresql.org/pub/repos/apt" \
|
||||
"$SUITE" \
|
||||
"main" \
|
||||
"amd64 arm64"
|
||||
"main"
|
||||
|
||||
if ! $STD apt update; then
|
||||
msg_error "APT update failed for PostgreSQL repository"
|
||||
@@ -4096,8 +4099,7 @@ function setup_clickhouse() {
|
||||
"https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key" \
|
||||
"https://packages.clickhouse.com/deb" \
|
||||
"stable" \
|
||||
"main" \
|
||||
"amd64 arm64"
|
||||
"main"
|
||||
|
||||
# Install packages with retry logic
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -48,7 +48,7 @@ install_glances_debian() {
|
||||
msg_ok "Installed dependencies"
|
||||
|
||||
msg_info "Setting up Python + uv"
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/tools.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
|
||||
setup_uv PYTHON_VERSION="3.12"
|
||||
msg_ok "Setup Python + uv"
|
||||
|
||||
@@ -118,7 +118,7 @@ install_glances_alpine() {
|
||||
msg_ok "Installed dependencies"
|
||||
|
||||
msg_info "Setting up Python + uv"
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/tools.func)
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
|
||||
setup_uv PYTHON_VERSION="3.12"
|
||||
msg_ok "Setup Python + uv"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ if ! command -v curl >/dev/null 2>&1; then
|
||||
apt-get update >/dev/null 2>&1
|
||||
apt-get install -y curl >/dev/null 2>&1
|
||||
fi
|
||||
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/core.func)
|
||||
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/misc/core.func)
|
||||
load_functions
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
Reference in New Issue
Block a user