1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00
Files
wting_autojump/autojump.install

22 lines
547 B
Plaintext
Raw Normal View History

2009-02-12 20:23:49 +01: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 18:03:03 +01:00
# arg 1: the new package version
post_install() {
2009-02-12 09:52:31 +01:00
echo " > You need to source /etc/profile in your ~/.bashrc for this to work"
2009-02-10 18:03:03 +01:00
echo " > Only guaranteed to work with bash"
2009-02-10 18:52:07 +01:00
echo " > man autojump for instructions."
2009-02-10 18:03:03 +01: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 $*