diff options
Diffstat (limited to 'octave-queueing.install')
-rw-r--r-- | octave-queueing.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/octave-queueing.install b/octave-queueing.install new file mode 100644 index 000000000000..8b19830e2459 --- /dev/null +++ b/octave-queueing.install @@ -0,0 +1,17 @@ +_pack=queueing + +_octave_run() { + octave --no-history --no-init-file --no-window-system -q -f --eval "$*" +} + +post_install() { + _octave_run "pkg rebuild -global $_pack" +} + +post_upgrade() { + post_install +} + +post_remove() { + _octave_run "pkg rebuild -global" +} |