summaryrefslogtreecommitdiff
path: root/examples/hooks/kpdf-nodrm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hooks/kpdf-nodrm.sh')
-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