updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / lejos / lejos.install
blobcbe6b23d638d88ee1a6ea3155d511b64db754e6b
1 # This is a default template for a post-install scriptlet.  You can
2 # remove any functions you don't need (and this header).
4 # arg 1:  the new package version
5 pre_install() {
6   /bin/true
9 # arg 1:  the new package version
10 post_install() {
11   echo "To use lejos please set up your environment variables as following:"
12   echo "LEJOS_HOME=/usr/share/lejos"
13   echo "CLASSPATH=$CLASSPATH:/usr/share/lejos/classes:/usr/share/lejos/jtools"
14   /bin/true
17 # arg 1:  the new package version
18 # arg 2:  the old package version
19 pre_upgrade() {
20   /bin/true
23 # arg 1:  the new package version
24 # arg 2:  the old package version
25 post_upgrade() {
26   /bin/true
29 # arg 1:  the old package version
30 pre_remove() {
31   /bin/true
34 # arg 1:  the old package version
35 post_remove() {
36   /bin/true
39 op=$1
40 shift
41 $op $*