Stirling-PDF: ensure patchelf dependency on update and guard execstack patching

This commit is contained in:
MickLesk
2026-07-01 22:03:10 +02:00
parent e74b742981
commit efc8232282
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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"
+1 -1
View File
@@ -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"