Changeset 7662:4b6199c74355 in orange


Ignore:
Timestamp:
02/13/11 15:55:48 (3 years ago)
Author:
mitar
Branch:
default
Convert:
4ec6548288a0ecae4d2cad3b7b0e0f093a05824e
Message:

Made fink-selfupdate-orange.sh script cleanup old repository.

Location:
install-scripts/mac
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/mac/fink-selfupdate-orange.sh

    r7181 r7662  
    1919. $FINK_ROOT/bin/init.sh 
    2020 
    21 echo "Preparing local ailab Fink info files repository." 
    22 mkdir -p $FINK_ROOT/fink/dists/ailab/main/finkinfo/ 
    23 rm -f $FINK_ROOT/fink/dists/ailab/main/finkinfo/* 
     21if [ -e $FINK_ROOT/fink/dists/ailab/ ]; then 
     22    echo "Removing obsolete local ailab Fink info files repository." 
     23    rm -rf "$FINK_ROOT/fink/dists/ailab/" 
     24fi 
     25 
     26echo "Preparing local biolab Fink info files repository." 
     27mkdir -p $FINK_ROOT/fink/dists/biolab/main/finkinfo/ 
     28rm -f $FINK_ROOT/fink/dists/biolab/main/finkinfo/* 
    2429 
    2530# Gets current (daily) info files from SVN 
    26 echo "Updating local ailab Fink info files repository." 
    27 curl "http://orange.biolab.si/fink/dists/10.$MAC_VERSION/main/finkinfo/all.tgz" --output $FINK_ROOT/fink/dists/ailab/main/finkinfo/all.tgz 
    28 tar -xzf $FINK_ROOT/fink/dists/ailab/main/finkinfo/all.tgz -C $FINK_ROOT/fink/dists/ailab/main/finkinfo/ 
    29 rm -f $FINK_ROOT/fink/dists/ailab/main/finkinfo/all.tgz 
     31echo "Updating local biolab Fink info files repository." 
     32curl "http://orange.biolab.si/fink/dists/10.$MAC_VERSION/main/finkinfo/all.tgz" --output $FINK_ROOT/fink/dists/biolab/main/finkinfo/all.tgz 
     33tar -xzf $FINK_ROOT/fink/dists/biolab/main/finkinfo/all.tgz -C $FINK_ROOT/fink/dists/biolab/main/finkinfo/ 
     34rm -f $FINK_ROOT/fink/dists/biolab/main/finkinfo/all.tgz 
    3035 
    31 if ! grep '^Trees:' $FINK_ROOT/etc/fink.conf | grep -q 'ailab/main'; then 
    32     echo "Adding local ailab Fink info files repository to Fink configuration." 
    33     perl -p -i -l -e '$_ = "$_ ailab/main" if /^Trees/' $FINK_ROOT/etc/fink.conf 
     36if grep '^Trees:' $FINK_ROOT/etc/fink.conf | grep -q 'ailab/main'; then 
     37    echo "Removing obsolete local ailab Fink info files repository from Fink configuration." 
     38    perl -p -i -l -e 's| ?ailab/main||g if /^Trees/' $FINK_ROOT/etc/fink.conf    
     39fi 
     40 
     41if ! grep '^Trees:' $FINK_ROOT/etc/fink.conf | grep -q 'biolab/main'; then 
     42    echo "Adding local biolab Fink info files repository to Fink configuration." 
     43    perl -p -i -l -e '$_ = "$_ biolab/main" if /^Trees/' $FINK_ROOT/etc/fink.conf 
    3444fi 
    3545 
     
    4050 
    4151# Adds our binary repository to local Fink (APT) configuration if on Mac OS X versions we provide binary packages for 
     52if grep -q "ailab" $FINK_ROOT/etc/apt/sources.list; then 
     53    echo "Removing obsolete ailab Fink binary packages repository from Fink configuration." 
     54    grep -v "ailab" $FINK_ROOT/etc/apt/sources.list > $FINK_ROOT/etc/apt/sources.list.new 
     55    mv $FINK_ROOT/etc/apt/sources.list.new $FINK_ROOT/etc/apt/sources.list 
     56    apt-get update 
     57fi 
     58 
    4259if [[ "$MAC_VERSION" -eq 5 || "$MAC_VERSION" -eq 6 ]] && ! grep -q "deb http://orange.biolab.si/fink 10.$MAC_VERSION main" $FINK_ROOT/etc/apt/sources.list; then 
    43     echo "Adding ailab Fink binary packages repository to Fink configuration." 
     60    echo "Adding biolab Fink binary packages repository to Fink configuration." 
    4461    echo "deb http://orange.biolab.si/fink 10.$MAC_VERSION main" >> $FINK_ROOT/etc/apt/sources.list 
    4562fi 
     
    5168cat <<-EOMSG 
    5269     
    53     Information about ailab packages have been updated. You can now update installed 
     70    Information about biolab packages have been updated. You can now update installed 
    5471    packages using: 
    5572     
    5673        fink update-all 
    5774     
    58     You can list available ailab packages using commands like: 
     75    You can list available biolab packages using commands like: 
    5976     
    6077        fink list --tab orange 
     
    7087        WARNING: Your local Fink installation does not seem to use unstable Fink 
    7188                 packages tree with rsync or CVS updating. This means that it could 
    72                  happen that some package on which ailab packages depend will not be 
     89                 happen that some package on which biolab packages depend will not be 
    7390                 found or possible to install. In this case please configure Fink to 
    7491                 use unstable tree using: 
     
    100117         
    101118        WARNING: It seems you do not have X11 installed on a system. This means that it 
    102                  could happen that some package on which ailab packages depend will fail 
     119                 could happen that some package on which biolab packages depend will fail 
    103120                 to run or compile. In this case please install it from your Mac OS X 
    104121                 installation disk. 
     
    109126        WARNING: It seems you do not have X11 version 2.3.0 or later installed on a 
    110127                 system. This means that it could happen that some package on which 
    111                  ailab packages depend will fail to run or compile. In this case 
     128                 biolab packages depend will fail to run or compile. In this case 
    112129                 please install it from your Mac OS X installation disk or from: 
    113130                  
  • install-scripts/mac/fink/orange-bioinformatics-gui-svn-py.info

    r6943 r7662  
    33Type: python (2.5 2.6 2.7) 
    44Version: 0.0.__DAILY_REVISION__ 
    5 Revision: 22 
    6 Source: http://www.ailab.si/orange/fink/dists/10.5/main/source/orange-bioinformatics-svn-%v.tgz 
     5Revision: 23 
     6Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-bioinformatics-svn-%v.tgz 
    77Source-MD5: __DAILY_MD5SUM_BIOINFORMATICS__ 
    88Maintainer: Mitar <mitar@tnode.com> 
    9 HomePage: http://www.ailab.si/orange/ 
     9HomePage: http://orange.biolab.si/ 
    1010License: GPL 
    1111Depends: << 
  • install-scripts/mac/fink/orange-gui-svn-py.info

    r6943 r7662  
    33Type: python (2.4 2.5 2.6 2.7) 
    44Version: 0.0.__DAILY_REVISION__ 
    5 Revision: 19 
    6 Source: http://www.ailab.si/orange/fink/dists/10.5/main/source/orange-svn-%v.tgz 
     5Revision: 20 
     6Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-svn-%v.tgz 
    77Source-MD5: __DAILY_MD5SUM_ORANGE__ 
    8 Source2: http://www.ailab.si/orange/fink/dists/10.5/main/source/orange-bundlelite-svn-%v.tgz 
     8Source2: http://orange.biolab.si/fink/dists/10.5/main/source/orange-bundlelite-svn-%v.tgz 
    99Source2-MD5: __DAILY_MD5SUM_BUNDLELITE__ 
    1010Maintainer: Mitar <mitar@tnode.com> 
    11 HomePage: http://www.ailab.si/orange/ 
     11HomePage: http://orange.biolab.si/ 
    1212License: GPL 
    1313Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5 
  • install-scripts/mac/fink/orange-text-gui-svn-py.info

    r6943 r7662  
    33Type: python (2.4 2.5 2.6 2.7) 
    44Version: 0.0.__DAILY_REVISION__ 
    5 Revision: 11 
    6 Source: http://www.ailab.si/orange/fink/dists/10.5/main/source/orange-text-svn-%v.tgz 
     5Revision: 12 
     6Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-text-svn-%v.tgz 
    77Source-MD5: __DAILY_MD5SUM_TEXT__ 
    88Maintainer: Mitar <mitar@tnode.com> 
    9 HomePage: http://www.ailab.si/orange/ 
     9HomePage: http://orange.biolab.si/ 
    1010License: GPL 
    1111Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5 
  • install-scripts/mac/fink/orange.info

    r6518 r7662  
    22Package: orange 
    33Version: 1.0b.__STABLE_REVISION__ 
    4 Revision: 13 
    5 Source: http://www.ailab.si/orange/fink/dists/10.5/main/source/orange-%v.tgz 
     4Revision: 14 
     5Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-%v.tgz 
    66Source-MD5: __STABLE_MD5SUM_ORANGE__ 
    7 Source2: http://www.ailab.si/orange/fink/dists/10.5/main/source/orange-bundlelite-%v.tgz 
     7Source2: http://orange.biolab.si/fink/dists/10.5/main/source/orange-bundlelite-%v.tgz 
    88Source2-MD5: __STABLE_MD5SUM_BUNDLELITE__ 
    99Maintainer: Mitar <mitar@tnode.com> 
    10 HomePage: http://www.ailab.si/orange/ 
     10HomePage: http://orange.biolab.si/ 
    1111License: GPL 
    1212Distribution: 10.4, 10.5 
Note: See TracChangeset for help on using the changeset viewer.