2009-06-02 15:10:36 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2009-06-02 15:13:21 +00:00
|
|
|
# This is a hook for live-helper(7) to configure KDE's PDF viewer to ignore
|
2009-06-02 15:12:47 +00:00
|
|
|
# manipulation restriction on "DRM protect" PDF documents.
|
2009-06-02 15:10:36 +00:00
|
|
|
#
|
|
|
|
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
|
|
|
# directory.
|
|
|
|
|
2009-11-11 15:25:50 -01:00
|
|
|
if [ -d /usr/share/config ]
|
2009-06-02 15:10:36 +00:00
|
|
|
then
|
|
|
|
|
|
|
|
cat > /usr/share/config/kpdfpartrc << EOF
|
|
|
|
[General]
|
|
|
|
ObeyDRM=false
|
|
|
|
EOF
|
|
|
|
|
|
|
|
fi
|