summarylogtreecommitdiffstats
path: root/octave-sparsersb.install
diff options
context:
space:
mode:
Diffstat (limited to 'octave-sparsersb.install')
-rw-r--r--octave-sparsersb.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/octave-sparsersb.install b/octave-sparsersb.install
new file mode 100644
index 00000000000..cadfe08e5c8
--- /dev/null
+++ b/octave-sparsersb.install
@@ -0,0 +1,13 @@
+_pack=sparsersb
+
+post_install() {
+ octave-cli -q -f --eval "pkg rebuild -global $_pack"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ octave-cli -q -f --eval "pkg rebuild -global"
+}