Last change
on this file since 764 was 756, checked in by mar637, 19 years ago |
install script for the binary
|
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
661 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | pypath=/usr/local/lib/python2.3
|
---|
4 |
|
---|
5 | if [ ! -d ${pypath} ]; then
|
---|
6 | echo "python2.3 not installed"
|
---|
7 | exit 1
|
---|
8 | else
|
---|
9 | if [ -d "${pypath}/site-packages/asap" ]; then
|
---|
10 | echo "removing old asap module"
|
---|
11 | rm -f ${pypath}/site-packages/asap/*
|
---|
12 | else
|
---|
13 | mkdir "${pypath}/site-packages/asap"
|
---|
14 | fi
|
---|
15 | echo "installing asap python module"
|
---|
16 | cp build/* ${pypath}/site-packages/asap
|
---|
17 | echo "installing asap startup script"
|
---|
18 | cp bin/asap /usr/local/bin
|
---|
19 | fi
|
---|
20 | if [ -d /usr/local/share/asap/data ]; then
|
---|
21 | echo "removing old data directory"
|
---|
22 | rm -rf /usr/local/share/asap/data
|
---|
23 | fi
|
---|
24 |
|
---|
25 | echo "installing asap data directory"
|
---|
26 | cp -rf data /usr/local/share/asap
|
---|
Note:
See
TracBrowser
for help on using the repository browser.