[SCM] Debian Live build scripts branch, master, updated. 1.0.3-2-61-g3b76aae

Daniel Baumann daniel at debian.org
Tue Jun 2 15:18:56 UTC 2009


The following commit has been merged in the master branch:
commit 3b76aae50b5c4e264b8c787d7afa01cb1b629dcf
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Jun 2 17:10:36 2009 +0200

    Updating kpdf-nodrm hook to also work with KDE4.

diff --git a/examples/hooks/kde-no-pdf-drm.sh b/examples/hooks/kde-no-pdf-drm.sh
new file mode 100755
index 0000000..2eb3739
--- /dev/null
+++ b/examples/hooks/kde-no-pdf-drm.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to configure KDEs PDF viewer to ignore
+# manipulation restrcition on "DRM protect" PDF documents.
+#
+# To enable it, copy or symlink this hook into your config/chroot_local-hooks
+# directory.
+
+if [ -d /usr/share/kde4/config ]
+then
+	# KDE4 (squeeze/sid)
+
+cat > /usr/share/kde4/config/okularpartrc << EOF
+[General]
+ObeyDRM=false
+EOF
+
+elif [ -d /usr/share/config ]
+then
+	# KDE3 (etch/lenny)
+
+cat > /usr/share/config/kpdfpartrc << EOF
+[General]
+ObeyDRM=false
+EOF
+
+fi
diff --git a/examples/hooks/kpdf-nodrm.sh b/examples/hooks/kpdf-nodrm.sh
deleted file mode 100755
index 02939b0..0000000
--- a/examples/hooks/kpdf-nodrm.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list