updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / octave-control / octave-control.install
blobc8f2555830db84e25a2d9443956fa5b711feab0c
1 ## arg 1:  the new package version
2 post_install() {
3   octave -f -q --eval "pkg prefix /usr/share/octave/packages /usr/lib/octave/packages; pkg install -verbose -global /usr/share/octave/control.tar.gz"
6 ## arg 1:  the new package version
7 ## arg 2:  the old package version
8 post_upgrade() {
9   post_remove
10   post_install
13 ## arg 1:  the old package version
14 post_remove() {
15   octave -f -q --eval "pkg prefix /usr/share/octave/packages /usr/lib/octave/packages; pkg uninstall control"