mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-03 20:14:31 +01:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 57658f0c02 | |||
| 17ac5c491c | |||
| 111d9e189e | |||
| 4910c72f81 | |||
| 93fbb2de00 | |||
| 9bf0070762 | |||
| 35c43ad344 |
+8
-1
@@ -581,7 +581,14 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
### 💾 Core
|
### 💾 Core
|
||||||
|
|
||||||
- fix: pve-LXC: say when the container went away during its setup [@MickLesk](https://github.com/MickLesk) ([core#192](https://github.com/community-scripts/core/pull/192))
|
- fix: put the reason for a VM failure into its trace [@MickLesk](https://github.com/MickLesk) ([core#200](https://github.com/community-scripts/core/pull/200))
|
||||||
|
- fix: check the bridge before creating a container, and its state after start [@MickLesk](https://github.com/MickLesk) ([core#199](https://github.com/community-scripts/core/pull/199))
|
||||||
|
- ref: offer to remove only the container this run created [@MickLesk](https://github.com/MickLesk) ([core#198](https://github.com/community-scripts/core/pull/198))
|
||||||
|
- feat: report a cancelled tool dialog as an abort and name the failing command [@MickLesk](https://github.com/MickLesk) ([core#197](https://github.com/community-scripts/core/pull/197))
|
||||||
|
- feat: check KVM and the host's threads before building a VM [@MickLesk](https://github.com/MickLesk) ([core#196](https://github.com/community-scripts/core/pull/196))
|
||||||
|
- ref: give a host tool one log file for the whole run [@MickLesk](https://github.com/MickLesk) ([core#194](https://github.com/community-scripts/core/pull/194))
|
||||||
|
- fix: keep a piped stdin when output moves to the log after a hangup [@MickLesk](https://github.com/MickLesk) ([core#193](https://github.com/community-scripts/core/pull/193))
|
||||||
|
- fix: pve-LXC: say when the container went away during its setup [@MickLesk](https://github.com/MickLesk) ([core#192](https://github.com/community-scripts/core/pull/192))
|
||||||
- fix: treat Esc in a VM wizard dialog as leaving the script [@MickLesk](https://github.com/MickLesk) ([core#190](https://github.com/community-scripts/core/pull/190))
|
- fix: treat Esc in a VM wizard dialog as leaving the script [@MickLesk](https://github.com/MickLesk) ([core#190](https://github.com/community-scripts/core/pull/190))
|
||||||
- ref: count a container stopped during a detached install as an abort [@MickLesk](https://github.com/MickLesk) ([core#187](https://github.com/community-scripts/core/pull/187))
|
- ref: count a container stopped during a detached install as an abort [@MickLesk](https://github.com/MickLesk) ([core#187](https://github.com/community-scripts/core/pull/187))
|
||||||
- feat: find the assets of a renamed GitHub repo without the API [@MickLesk](https://github.com/MickLesk) ([core#188](https://github.com/community-scripts/core/pull/188))
|
- feat: find the assets of a renamed GitHub repo without the API [@MickLesk](https://github.com/MickLesk) ([core#188](https://github.com/community-scripts/core/pull/188))
|
||||||
|
|||||||
@@ -58,6 +58,17 @@ function update_script() {
|
|||||||
$STD git pull origin main
|
$STD git pull origin main
|
||||||
msg_ok "Updated Discourse"
|
msg_ok "Updated Discourse"
|
||||||
|
|
||||||
|
if check_for_gh_release "libvips" "libvips/libvips"; then
|
||||||
|
ensure_dependencies meson ninja-build pkg-config libglib2.0-dev libexpat1-dev libjpeg-dev libpng-dev libwebp-dev libtiff-dev libheif-dev libjxl-dev librsvg2-dev libcgif-dev libexif-dev liblcms2-dev liborc-0.4-dev libimagequant-dev libpango1.0-dev
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "libvips" "libvips/libvips" "prebuild" "latest" "/opt/libvips" "vips-*.tar.xz"
|
||||||
|
msg_info "Building libvips"
|
||||||
|
cd /opt/libvips
|
||||||
|
$STD meson setup build --prefix=/usr/local --libdir=lib --buildtype=release -Dmodules=disabled -Dmagick=disabled -Dexamples=false
|
||||||
|
$STD ninja -C build install
|
||||||
|
ldconfig
|
||||||
|
msg_ok "Built libvips"
|
||||||
|
fi
|
||||||
|
|
||||||
msg_info "Updating Dependencies"
|
msg_info "Updating Dependencies"
|
||||||
RUBY_TARGET=$(grep -A1 '^RUBY VERSION' /opt/discourse/Gemfile.lock | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -n1)
|
RUBY_TARGET=$(grep -A1 '^RUBY VERSION' /opt/discourse/Gemfile.lock | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -n1)
|
||||||
RUBY_VERSION="${RUBY_TARGET:-4.0.7}" RUBY_INSTALL_RAILS="false" setup_ruby
|
RUBY_VERSION="${RUBY_TARGET:-4.0.7}" RUBY_INSTALL_RAILS="false" setup_ruby
|
||||||
|
|||||||
@@ -25,9 +25,36 @@ $STD apt install -y \
|
|||||||
gsfonts \
|
gsfonts \
|
||||||
brotli \
|
brotli \
|
||||||
nginx \
|
nginx \
|
||||||
redis-server
|
redis-server \
|
||||||
|
meson \
|
||||||
|
ninja-build \
|
||||||
|
pkg-config \
|
||||||
|
libglib2.0-dev \
|
||||||
|
libexpat1-dev \
|
||||||
|
libjpeg-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libwebp-dev \
|
||||||
|
libtiff-dev \
|
||||||
|
libheif-dev \
|
||||||
|
libjxl-dev \
|
||||||
|
librsvg2-dev \
|
||||||
|
libcgif-dev \
|
||||||
|
libexif-dev \
|
||||||
|
liblcms2-dev \
|
||||||
|
liborc-0.4-dev \
|
||||||
|
libimagequant-dev \
|
||||||
|
libpango1.0-dev
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "libvips" "libvips/libvips" "prebuild" "latest" "/opt/libvips" "vips-*.tar.xz"
|
||||||
|
|
||||||
|
msg_info "Building libvips"
|
||||||
|
cd /opt/libvips
|
||||||
|
$STD meson setup build --prefix=/usr/local --libdir=lib --buildtype=release -Dmodules=disabled -Dmagick=disabled -Dexamples=false
|
||||||
|
$STD ninja -C build install
|
||||||
|
ldconfig
|
||||||
|
msg_ok "Built libvips"
|
||||||
|
|
||||||
msg_info "Cloning Discourse"
|
msg_info "Cloning Discourse"
|
||||||
$STD git clone --depth 1 https://github.com/discourse/discourse.git /opt/discourse
|
$STD git clone --depth 1 https://github.com/discourse/discourse.git /opt/discourse
|
||||||
msg_ok "Cloned Discourse"
|
msg_ok "Cloned Discourse"
|
||||||
|
|||||||
Reference in New Issue
Block a user