Changeset 766 for branches/Release12/bin


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

script wasn't update to release 1.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release12/bin/install.sh

    r756 r766  
    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.