From 9a904126fae321c1d142e6727a6c5f0a035afd52 Mon Sep 17 00:00:00 2001 From: Joel Schaerer Date: Tue, 10 Feb 2009 18:03:03 +0100 Subject: [PATCH] arch linux install file --- autojump.install | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 autojump.install diff --git a/autojump.install b/autojump.install new file mode 100644 index 0000000..c517b49 --- /dev/null +++ b/autojump.install @@ -0,0 +1,17 @@ +# arg 1: the new package version +post_install() { + echo " > You need to source /etc/profile in your ~/.bash_profile our ~/.bashrc for this to work" + echo " > Only guaranteed to work with bash" + /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 $*