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