[syrthes/master] Remove useless patch to syrthes.profile

Gilles Filippini gilles.filippini at free.fr
Fri Sep 18 21:33:23 UTC 2009


---
 debian/patches/syrthes_env |   71 --------------------------------------------
 1 files changed, 0 insertions(+), 71 deletions(-)

diff --git a/debian/patches/syrthes_env b/debian/patches/syrthes_env
index 722f171..0494acf 100644
--- a/debian/patches/syrthes_env
+++ b/debian/patches/syrthes_env
@@ -1,75 +1,4 @@
 Set the SYRTHES environment variables for a debian box.
-Index: syrthes/bin/syrthes.profile
-===================================================================
---- syrthes.orig/bin/syrthes.profile	2009-07-07 02:07:12.000000000 +0200
-+++ syrthes/bin/syrthes.profile	2009-07-07 18:25:01.000000000 +0200
-@@ -32,43 +32,42 @@
- 
- # Architecture name and location of the directory for installation
- # ================================================================
--  NOM_ARCH=`uname -s`
--  PATHSYR=/home/syrthes
-+  NOM_ARCH=Linux
- 
- #------------------------------------------------------------------------
- # Only in case of installation on multiple architectures
- 
- # Architecture
--  NOM_ARCH=`uname -s`
--  if [ "$NOM_ARCH" = "Linux" ] ; then
--    if [ "`hostname | cut -c1-7`" = "platine" ] ; then
--      NOM_ARCH=Linux_IA64
--    elif [ "`domainname 2>/dev/null`" = "cluster-chatou" ] ; then
--      NOM_ARCH=Linux_Ch
--    elif [ -d /bgl/BlueLight/ppcfloor ] ; then
--      NOM_ARCH=Blue_Gene_L
--    elif [ -d /bgsys/drivers/ppcfloor ] ; then
--      NOM_ARCH=Blue_Gene_P
--    else
--      MACHINE=`uname -m`
--      case "$MACHINE" in
--        *86)    NOM_ARCH=Linux ;;
--        x86_64) NOM_ARCH=Linux_x86_64 ;;
--        ia64)   NOM_ARCH=Linux_IA64 ;;
--        *)      NOM_ARCH=Linux_$MACHINE ;;
--      esac
--    fi
--  fi
-+#  NOM_ARCH=`uname -s`
-+#  if [ "$NOM_ARCH" = "Linux" ] ; then
-+#    if [ "`hostname | cut -c1-7`" = "platine" ] ; then
-+#      NOM_ARCH=Linux_IA64
-+#    elif [ "`domainname 2>/dev/null`" = "cluster-chatou" ] ; then
-+#      NOM_ARCH=Linux_Ch
-+#    elif [ -d /bgl/BlueLight/ppcfloor ] ; then
-+#      NOM_ARCH=Blue_Gene_L
-+#    elif [ -d /bgsys/drivers/ppcfloor ] ; then
-+#      NOM_ARCH=Blue_Gene_P
-+#    else
-+#      MACHINE=`uname -m`
-+#      case "$MACHINE" in
-+#        *86)    NOM_ARCH=Linux ;;
-+#        x86_64) NOM_ARCH=Linux_x86_64 ;;
-+#        ia64)   NOM_ARCH=Linux_IA64 ;;
-+#        *)      NOM_ARCH=Linux_$MACHINE ;;
-+#      esac
-+#    fi
-+#  fi
- 
- #-----------------------------------------------------------
- #
--  SYRTHES_HOME=${PATHSYR}/syrthes3.4.2  
-+  SYRTHES_HOME=/usr/lib/syrthes
- #
- # Path 
-   PATH=${SYRTHES_HOME}/bin:${SYRTHES_HOME}/bin/${NOM_ARCH}:$PATH
-   export PATH
- 
- # Export des variables
--  export NOM_ARCH NOM_USER SYRTHES_HOME 
-+  export NOM_ARCH SYRTHES_HOME
- 
- 
 Index: syrthes/bin/Makefile.in
 ===================================================================
 --- syrthes.orig/bin/Makefile.in	2009-07-07 02:07:12.000000000 +0200
-- 
1.5.6.5





More information about the debian-science-commits mailing list