fix: vendor vpnc script in linux packages

This commit is contained in:
Kevin Yue committed 2026-05-06 23:20:57 +08:00
1 parent fb6db0dc12
commit 08a77f9d38
8 files changed
+1223 -14

No files matched your search

+2
View File
@@ -3,6 +3,8 @@ use std::{io, path::Path};
use is_executable::IsExecutable;
const VPNC_SCRIPT_LOCATIONS: &[&str] = &[
"/usr/libexec/gpclient/vpnc-script",
"/usr/lib/gpclient/vpnc-script",
"/usr/local/share/vpnc-scripts/vpnc-script",
"/usr/local/sbin/vpnc-script",
"/usr/share/vpnc-scripts/vpnc-script",