Subject: Adding kpdf-nodrm example hook from Tzafrir Cohen <[email-masked]>.

From: Daniel Baumann <[email-masked]>
Date: Tue, 2 Jun 2009 15:33:28 +0200

---
 examples/hooks/kpdf-nodrm.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100755 examples/hooks/kpdf-nodrm.sh

diff --git a/examples/hooks/kpdf-nodrm.sh b/examples/hooks/kpdf-nodrm.sh
new file mode 100755
index 0000000..02939b0
--- /dev/null
+++ b/examples/hooks/kpdf-nodrm.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to configure kpdf to ignore manipulation
+# restrcition on "DRM protect" PDF documents.
+#
+# To enable it, copy or symlink this hook into your config/chroot_local-hooks
+# directory.
+
+cat > /etc/kde3/kpdfpartrc << EOF
+[General]
+ObeyDRM=false
+EOF
-- 
cgit v1.0