- Timestamp:
- 12/05/05 11:30:12 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/install.sh
r756 r770 1 1 #!/bin/sh 2 2 3 pypath=/usr/local/lib/python2.3 3 prefix=/usr/local 4 pypath=${prefix}/lib/python2.3 5 base=`pwd` 4 6 5 7 if [ ! -d ${pypath} ]; then … … 18 20 cp bin/asap /usr/local/bin 19 21 fi 22 23 if [ ! -d ${prefix}/share/asap ]; then 24 echo "creating asap data directory" 25 mkdir ${prefix}/share/asap 26 fi 27 28 cp share/ipythonrc-asap /usr/local/share/asap/ 29 20 30 if [ -d /usr/local/share/asap/data ]; then 21 31 echo "removing old data directory" … … 23 33 fi 24 34 25 echo "installing asap data directory" 26 cp -rf data /usr/local/share/asap 35 echo "extracting and installing asap data directory" 36 cd /usr/local/share/asap 37 tar jxf ${base}/share/data.tar.bz2 38 echo "The asap python module has been installed in" 39 echo " ${pypath}/site-packages" 40 echo "asap data is in ${prefix}/share/asap"
Note:
See TracChangeset
for help on using the changeset viewer.