[Pkg-lyx-devel] [lyx] 08/09: Fix permissions for some scripts

Nick Andrik andrikos-guest at moszumanska.debian.org
Thu Oct 16 23:14:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrikos-guest pushed a commit to branch master
in repository lyx.

commit 7db45a3cce0f7fc1980cb79c6c072eb0b8f71d75
Author: Nick Andrik <nick.andrik at gmail.com>
Date:   Mon Oct 13 02:11:43 2014 +0200

    Fix permissions for some scripts
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c9f03ba..d2e1b3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ lyx (2.1.2-3) UNRELEASED; urgency=low
   * Mark fonts-lyx binary package as Multi-Arch: foreign
   * Add a lintian override for lyx-common's link to external mythes directory
   * Add a patch that populates .desktop file with a Keywords field
+  * Fix permissions for some scripts
 
  -- Nick Andrik <nick.andrik at gmail.com>  Sun, 12 Oct 2014 01:13:52 +0200
 
diff --git a/debian/rules b/debian/rules
index 0f6c122..4218e98 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,8 +46,8 @@ override_dh_auto_install:
 	mv debian/lyx-common/usr/share/lyx/tex \
 		debian/lyx-common/usr/share/texmf/tex/latex/lyx
 
-# make script executable
-	chmod 755 debian/lyx-common/usr/share/lyx/scripts/listerrors
+# make sourced python scripts non-executable
+	chmod 644 debian/lyx-common/usr/share/lyx/scripts/*.py
 
 # handle font documentation
 	mkdir -p debian/fonts-lyx/usr/share/doc/fonts-lyx

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-lyx/lyx.git



More information about the Pkg-lyx-devel mailing list