2009-02-12 19:23:49 +00:00
|
|
|
#This code is licensed under the GPL, version 3.
|
|
|
|
#A full copy of the license can be obtained by contacting the author at the following email adress: joel.schaerer@laposte.net
|
|
|
|
|
2009-02-10 17:03:03 +00:00
|
|
|
# arg 1: the new package version
|
|
|
|
post_install() {
|
2009-02-12 08:52:31 +00:00
|
|
|
echo " > You need to source /etc/profile in your ~/.bashrc for this to work"
|
2009-02-10 17:03:03 +00:00
|
|
|
echo " > Only guaranteed to work with bash"
|
2009-02-10 17:52:07 +00:00
|
|
|
echo " > man autojump for instructions."
|
2009-02-10 17:03:03 +00:00
|
|
|
/bin/true
|
|
|
|
}
|
|
|
|
|
|
|
|
# arg 1: the new package version
|
|
|
|
# arg 2: the old package version
|
|
|
|
post_upgrade() {
|
|
|
|
post_install $1
|
|
|
|
/bin/true
|
|
|
|
}
|
|
|
|
|
|
|
|
op=$1
|
|
|
|
shift
|
|
|
|
$op $*
|