SHARE
TWEET

octave-miscellaneous.install

a guest Mar 12th, 2011 72 Never
  1. ## arg 1:  the new package version
  2. post_install() {
  3.   echo "pkg prefix /usr/share/octave/packages /usr/lib/octave/packages; pkg install -global /usr/share/octave/miscellaneous.tar.gz" | octave --silent
  4. }
  5.  
  6. ## arg 1:  the new package version
  7. ## arg 2:  the old package version
  8. post_upgrade() {
  9.   post_remove
  10.   post_install
  11. }
  12.  
  13. ## arg 1:  the old package version
  14. post_remove() {
  15.   echo "pkg prefix /usr/share/octave/packages /usr/lib/octave/packages; pkg uninstall miscellaneous" | octave --silent
  16. }
RAW Paste Data
Top