updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / palm-sdk / palm-sdk.install
blob3660c074eacdeacad5b57b88c76b787f470d6290
1 # Description: post-install script for palm-sdk
2 # Contributor: Ryan Corder <ryanc@greengrey.org>
5 # arg 1:new package version
6 post_install() {
7     echo
8     echo "There are due to filenameclashes no symlinks for PalmPDK in /usr/bin/"
9     echo "You have to either:"
10     echo "Call PalmPDK binaries via absolute calls"
11     echo "      e.g /opt/PalmPDK/bin/foo"
12     echo
13     echo "Symlink the binaries you need to /usr/local/bin (maybe change the names)"
14     echo 
15     echo "Add /opt/PalmPDK/ to your \$PATH"
16     echo
17     echo "The following entires will likely be required for you to add to"
18     echo "your /etc/hosts file:"
19     echo
20     echo "# Added for palm-sdk"
21     echo "127.0.0.1   qemu"
22     echo "# Added for palmtools"
23     echo "127.0.0.1   device"
24     echo
25     echo "Additionally, you should have this entry in your /etc/hosts file anyway:"
26     echo
27     echo "127.0.0.1   localhost"
28     echo
31 post_upgrade() {
32     post_install $1
35 op=$1
36 shift
38 $op $*