[eso-midas] 02/04: Use debian specific file only on Debian machines

Ole Streicher olebole at moszumanska.debian.org
Mon Mar 16 17:31:16 UTC 2015


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

olebole pushed a commit to branch debian
in repository eso-midas.

commit 41e82ab79f601510259fc2444a99d588ebdfa14a
Author: Ole Streicher <olebole at debian.org>
Date:   Mon Mar 16 18:29:14 2015 +0100

    Use debian specific file only on Debian machines
---
 debian/patches/setup-debian.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/setup-debian.patch b/debian/patches/setup-debian.patch
index ebec67e..1573ad8 100644
--- a/debian/patches/setup-debian.patch
+++ b/debian/patches/setup-debian.patch
@@ -7,7 +7,7 @@ Description: Debian specific changes
  machine=`(uname -m) 2>/dev/null`
  
 -if [ "$uname" = "Darwin" ]; then
-+if [ -d "Debian" ];  then
++if [ -d "Debian" -a -f "/etc/debian_version" ];  then
 +    system="Debian"
 +
 +elif [ "$uname" = "Darwin" ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/eso-midas.git



More information about the debian-science-commits mailing list