summaryrefslogtreecommitdiff
path: root/examples/hooks/lenny_chroot_kpdf-nodrm.sh
blob: 20a4f9f33e0bfbf754498d22d7eddc728d0dc9ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# This is a hook for live-build(7) to configure KDE's PDF viewer to ignore
# manipulation restriction on "DRM protect" PDF documents.
#
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.

if [ -d /usr/share/config ]
then

cat > /usr/share/config/kpdfpartrc << EOF
[General]
ObeyDRM=false
EOF

fi