~ubuntu-branches/ubuntu/hoary/psi/hoary

« back to all changes in this revision

Viewing changes to install.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2004-06-15 00:10:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040615001041-enywb6pcpe4sjsw6
Tags: 0.9.2-1
* New upstream release
* Set KDEDIR for ./configure so kde specific files get installed
* Don't install libpsiwidgets.so. It got installed in /usr/share
  where it doesn't belong. May be included (at a better location)
  later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
if [ ! -f ./psi ]; then
4
 
  echo "The program 'psi' doesn't exist.  Perhaps this is a source package and you have not yet compiled the program?  Go read the INSTALL file."
5
 
  exit 1
6
 
fi
7
 
 
8
 
export PSIDIR=/usr/local/psi
9
 
 
10
 
echo [Installing Psi]
11
 
 
12
 
mkdir -p $PSIDIR
13
 
 
14
 
echo Copying program files to /usr/local/psi
15
 
cp -r ./image $PSIDIR
16
 
cp -r ./iconsets $PSIDIR
17
 
cp -r ./sound $PSIDIR
18
 
 
19
 
cp ./psi $PSIDIR
20
 
cp ./README $PSIDIR
21
 
cp ./COPYING $PSIDIR
22
 
 
23
 
mkdir -p /usr/local/bin
24
 
if [ -e /usr/local/bin/psi ]; then
25
 
  rm /usr/local/bin/psi
26
 
fi
27
 
 
28
 
echo Putting a link in /usr/local/bin
29
 
ln -s $PSIDIR/psi /usr/local/bin/psi
30
 
 
31
 
echo [Finished]
32