[Pkg-lyx-devel] [SCM] LyX packaging branch, master, updated. upstream/2.0.0_beta3-486-g3d5b534

Sven Hoexter sven at timegate.de
Wed Feb 2 20:19:56 UTC 2011


The following commit has been merged in the master branch:
commit ae199c0cc8b3b17bfb194e413af70cf7c1eeb30a
Author: Sven Hoexter <sven at timegate.de>
Date:   Wed Feb 2 21:10:09 2011 +0100

    Remove exec permissions on scripts installed in /usr/share/lyx/scripts/ where we've no shebang line. Currently that's lyxsweave.R and included_bib.py.

diff --git a/debian/changelog b/debian/changelog
index 6a3e5fa..7c4d872 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,9 @@ lyx (2.0.0~beta3-1) UNRELEASED; urgency=low
   * Move 'librsvg2-bin | inkscape' down from recommends to suggests.
   * Drop our own bash_completion file and instead install the one
     provided by upstream in the correct location.
+  * Remove exec permissions on scripts installed in /usr/share/lyx/scripts/
+    where we've no shebang line. Currently that's lyxsweave.R and
+    included_bib.py.
 
  -- Sven Hoexter <hoexter at debian.org>  Wed, 02 Feb 2011 17:35:52 +0100
 
diff --git a/debian/rules b/debian/rules
index d513e04..0fd79aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,6 +77,10 @@ override_dh_auto_install:
 		debian/lyx-common/etc/bash_completion.d/lyx
 	rm debian/lyx-common/usr/share/lyx/scripts/bash_completion
 
+# remove exec permissions on scripts without proper shebang
+	chmod -x debian/lyx-common/usr/share/lyx/scripts/lyxsweave.R
+	chmod -x debian/lyx-common/usr/share/lyx/scripts/include_bib.py
+
 override_dh_installdocs:
 	mkdir -p debian/lyx/usr/share/doc
 	ln -s lyx-common debian/lyx/usr/share/doc/lyx

-- 
LyX packaging



More information about the Pkg-lyx-devel mailing list