summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-06-02 15:33:28 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:44 +0100
commit7393c4508d12aec7ce82f3dd2e3b4d993dd49910 (patch)
tree5c8db6c6382cc62cd08fdb13416f7d7d4f4bd8ea
parent0fef6abce818a9ce2bf91693544a275395060817 (diff)
downloadlive-build-7393c4508d12aec7ce82f3dd2e3b4d993dd49910.zip
live-build-7393c4508d12aec7ce82f3dd2e3b4d993dd49910.tar.gz
Adding kpdf-nodrm example hook from Tzafrir Cohen <tzafrir.cohen@xorcom.com>.
-rwxr-xr-xexamples/hooks/kpdf-nodrm.sh12
1 files changed, 12 insertions, 0 deletions
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