1 2 3 4 5 6 7 8 9 10 11 12
post_install(){ _pkgver=$(echo $1 | cut -d'-' -f1) echo -e "Add isis to your path:\n" echo -e "\texport PATH=\$PATH:/opt/isis/isis/${_pkgver}/bin/\n" echo -e "And set isis environment:\n" echo -e "\texport ISIS_SRCDIR=/opt/isis/isis/${_pkgver}\n" } # vim:set ts=4 sw=4 et: