[SCM] general-purpose neural simulator branch, master, updated. upstream/2.3+dfsg-22-g1826236

Gabriele Giacone 1o5g4r8o at gmail.com
Sun Dec 11 01:29:51 UTC 2011


The following commit has been merged in the master branch:
commit 1826236e4f07e90feb85a5e8e63a2681be439e3d
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date:   Sun Dec 11 02:25:45 2011 +0100

    Readd perms fix. Fix perl shebang.

diff --git a/debian/rules b/debian/rules
index e9991dc..3cedcc2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,17 @@ override_dh_auto_install:
 	dh_install
 	dh_installchangelogs ChangeLog
 
+override_dh_fixperms:
+	dh_fixperms
+	# This stuff doesn't need to be executable (generates a lintian warning)
+	find debian/genesis-data/usr/share/genesis -type f | xargs chmod a-x
+	# But this stuff does
+	-find debian/genesis-data/usr/share/genesis/Scripts -type f | \
+	while read file; do \
+	  grep '^#\! */' "$$file" && chmod a+x "$$file" && \
+	  sed -i 's#usr/local/bin/perl#usr/bin/perl#' $$file; \
+	done
+
 NAME = genesis
 VER  = $(shell dpkg-parsechangelog|grep ^Version:|cut -f2 -d' '|cut -f1 -d'+')
 TAR  = $(NAME)_$(VER).orig.tar.bz2

-- 
general-purpose neural simulator



More information about the debian-science-commits mailing list