diff --git a/ct/stirling-pdf.sh b/ct/stirling-pdf.sh index 267bdaf85..1730eaaa8 100644 --- a/ct/stirling-pdf.sh +++ b/ct/stirling-pdf.sh @@ -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" diff --git a/install/stirling-pdf-install.sh b/install/stirling-pdf-install.sh index f953e997b..d0a4cbfc2 100644 --- a/install/stirling-pdf-install.sh +++ b/install/stirling-pdf-install.sh @@ -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"