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