summarylogtreecommitdiffstats
path: root/palm-sdk.install
blob: 3660c074eacdeacad5b57b88c76b787f470d6290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Description: post-install script for palm-sdk
# Contributor: Ryan Corder <ryanc@greengrey.org>
#

# arg 1:new package version
post_install() {
    echo
    echo "There are due to filenameclashes no symlinks for PalmPDK in /usr/bin/"
    echo "You have to either:"
    echo "Call PalmPDK binaries via absolute calls"
    echo "      e.g /opt/PalmPDK/bin/foo"
    echo
    echo "Symlink the binaries you need to /usr/local/bin (maybe change the names)"
    echo 
    echo "Add /opt/PalmPDK/ to your \$PATH"
    echo
    echo "The following entires will likely be required for you to add to"
    echo "your /etc/hosts file:"
    echo
    echo "# Added for palm-sdk"
    echo "127.0.0.1   qemu"
    echo "# Added for palmtools"
    echo "127.0.0.1   device"
    echo
    echo "Additionally, you should have this entry in your /etc/hosts file anyway:"
    echo
    echo "127.0.0.1   localhost"
    echo
}

post_upgrade() {
    post_install $1
}

op=$1
shift

$op $*