mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 09:41:50 +02:00
upgrade
This commit is contained in:
@@ -39,5 +39,5 @@
|
|||||||
"slug": "postgres",
|
"slug": "postgres",
|
||||||
"udev": true,
|
"udev": true,
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/postgres",
|
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/postgres",
|
||||||
"version": "15.7-37"
|
"version": "15.7-37_test"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,13 +39,13 @@ get_pgdata_version() {
|
|||||||
|
|
||||||
install_vchord_and_vectors() {
|
install_vchord_and_vectors() {
|
||||||
local pgver
|
local pgver
|
||||||
local vectorchord_tag="${VECTORCHORD_TAG:-v0.4.1}"
|
local vectorchord_tag="${VECTORCHORD_TAG:-0.3.0}"
|
||||||
local pgvectors_tag="${PGVECTORS_TAG:-0.3.0}"
|
local pgvectors_tag="${PGVECTORS_TAG:-0.3.0}"
|
||||||
local targetarch="${TARGETARCH:-amd64}"
|
local targetarch="${TARGETARCH:-amd64}"
|
||||||
|
|
||||||
for pgver in "$1" "$2"; do
|
for pgver in "$1" "$2"; do
|
||||||
# vchord
|
# vchord
|
||||||
local vchord_url="https://github.com/tensorchord/VectorChord/releases/download/${vectorchord_tag}/postgresql-${pgver}-vchord_${vectorchord_tag#v}-1_${targetarch}.deb"
|
local vchord_url="https://github.com/tensorchord/VectorChord/releases/download/${vectorchord_tag}/postgresql-${pgver}-vchord_${vectorchord_tag}-1_${targetarch}.deb"
|
||||||
bashio::log.info "Downloading $vchord_url"
|
bashio::log.info "Downloading $vchord_url"
|
||||||
wget -nv -O "/tmp/vchord-${pgver}.deb" "$vchord_url"
|
wget -nv -O "/tmp/vchord-${pgver}.deb" "$vchord_url"
|
||||||
apt-get install -y "/tmp/vchord-${pgver}.deb"
|
apt-get install -y "/tmp/vchord-${pgver}.deb"
|
||||||
|
|||||||
Reference in New Issue
Block a user