Changeset 770 for trunk/bin


Ignore:
Timestamp:
12/05/05 11:30:12 (19 years ago)
Author:
mar637
Message:

merge from Release12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/install.sh

    r756 r770  
    11#!/bin/sh
    22
    3 pypath=/usr/local/lib/python2.3
     3prefix=/usr/local
     4pypath=${prefix}/lib/python2.3
     5base=`pwd`
    46
    57if [ ! -d ${pypath} ]; then
     
    1820   cp bin/asap /usr/local/bin
    1921fi
     22
     23if [ ! -d ${prefix}/share/asap ]; then
     24    echo "creating asap data directory"
     25    mkdir ${prefix}/share/asap
     26fi
     27
     28cp share/ipythonrc-asap /usr/local/share/asap/
     29
    2030if [ -d /usr/local/share/asap/data ]; then
    2131    echo "removing old data directory"
     
    2333fi
    2434
    25 echo "installing asap data directory"
    26 cp -rf data /usr/local/share/asap
     35echo "extracting and installing asap data directory"
     36cd /usr/local/share/asap
     37tar jxf ${base}/share/data.tar.bz2
     38echo "The asap python module has been installed in"
     39echo " ${pypath}/site-packages"
     40echo "asap data is in ${prefix}/share/asap"
Note: See TracChangeset for help on using the changeset viewer.