fix: update Rust version handling in PPA build scripts

This commit is contained in:
Kevin Yue committed 2026-04-06 11:04:18 +08:00
1 parent c27ab657c0
commit 33a3c2de11
4 files changed
+14 -5

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 9),
gnome-keyring,
libwebkit2gtk-4.1-dev,
libopenconnect-dev (>= 8.20),
rust-1.85-all
rust-@RUST_VERSION@-all
Homepage: https://github.com/yuezk/GlobalProtect-openconnect
Package: globalprotect-openconnect
+1 -1
View File
@@ -3,7 +3,7 @@
export BUILD_GUI_HELPER = @BUILD_GUI_HELPER@
export DISABLE_RUST_TOOLCHAIN = 0
export PATH := /usr/lib/rust-1.85/bin:$(PATH)
export PATH := /usr/lib/rust-@RUST_VERSION@/bin:$(PATH)
%:
which cargo