diff options
author | jason | 2015-07-11 14:30:21 +1200 |
---|---|---|
committer | jason | 2015-07-11 14:30:21 +1200 |
commit | 8f4aacc77f4556469ef18392064d64317345f0ea (patch) | |
tree | e5110512e9aa5ad477530ce01199c6c6ef41eae3 /chruby.install | |
download | aur-8f4aacc77f4556469ef18392064d64317345f0ea.tar.gz |
Initial commit
Diffstat (limited to 'chruby.install')
-rw-r--r-- | chruby.install | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/chruby.install b/chruby.install new file mode 100644 index 000000000000..7bfe15148085 --- /dev/null +++ b/chruby.install @@ -0,0 +1,35 @@ +## arg 1: the new package version +post_install() { + echo " +Please do one of the following or something similar depending of your preferred +shell and setup: + + echo 'source /usr/share/chruby/chruby.sh' >> ~/.bashrc + echo 'source /usr/share/chruby/chruby.sh' >> ~/.zprofile + +For further support/information, please see the project's homepage! + +For your convenience there's a file at /etc/profile.d/chruby.sh which can used +to enable chruby systemwide. You just need to uncomment the lines in the file. +" +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + post_install +} + +## arg 1: the old package version +post_remove() { + echo " +Please do not forget to delete those lines from your shell's initscript(s): +e.g. .bashrc, .zprofile, ... + +source /usr/share/chruby/chruby.sh + +For further support/information, please see the project's homepage! +" +} + +# vim:set ts=2 sw=2 et: |