mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-02 04:02:13 +02:00
Stirling-PDF: ensure patchelf dependency on update and guard execstack patching
This commit is contained in:
+2
-1
@@ -39,7 +39,8 @@ function update_script() {
|
||||
JAVA_VERSION="25" setup_java
|
||||
|
||||
msg_info "Patching Native Libraries for LXC Compatibility"
|
||||
find /usr/lib -name "libicudata.so.*" -exec patchelf --clear-execstack {} \;
|
||||
ensure_dependencies patchelf
|
||||
find /usr/lib -name "libicudata.so.*" -exec patchelf --clear-execstack {} \; || true
|
||||
msg_ok "Patched Native Libraries"
|
||||
|
||||
msg_info "Stopping Services"
|
||||
|
||||
@@ -117,7 +117,7 @@ fi
|
||||
msg_ok "Created Environment Variables"
|
||||
|
||||
msg_info "Patching Native Libraries for LXC Compatibility"
|
||||
find /usr/lib -name "libicudata.so.*" -exec patchelf --clear-execstack {} \;
|
||||
find /usr/lib -name "libicudata.so.*" -exec patchelf --clear-execstack {} \; || true
|
||||
msg_ok "Patched Native Libraries"
|
||||
|
||||
msg_info "Refreshing Font Cache"
|
||||
|
||||
Reference in New Issue
Block a user