#!/bin/sh case $2 in POST-INSTALL) if [ -e /etc/profile ]; then \ cp %%PREFIX%%/share/autojump/autojump.bash /etc/profile.autojump echo ". /etc/profile.autojump" >> /etc/profile fi if [ -e /etc/zshrc ]; then \ cp %%PREFIX%%/share/autojump/autojump.zsh /etc/zshrc.autojump echo ". /etc/zshrc.autojump" >> /etc/zshrc fi ;; esac