Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## arg 1: the new package version
- post_install() {
- echo "pkg prefix /usr/share/octave/packages /usr/lib/octave/packages; pkg install -global /usr/share/octave/statistics.tar.gz" | octave --silent
- }
- ## arg 1: the new package version
- ## arg 2: the old package version
- post_upgrade() {
- post_remove
- post_install
- }
- ## arg 1: the old package version
- post_remove() {
- echo "pkg prefix /usr/share/octave/packages /usr/lib/octave/packages; pkg uninstall statistics" | octave --silent
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement