summaryrefslogtreecommitdiff
path: root/pcr/octave-signal/octave-signal.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 18:07:15 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 18:07:15 -0500
commitc17675a326b91be9d2e401b9241ffe42f38c43a2 (patch)
treec238d201b97d57da17020670ff8a0556e8d83a53 /pcr/octave-signal/octave-signal.install
parent492b06012eb663166032a2c35650b3ff62501a92 (diff)
downloadabslibre-c17675a326b91be9d2e401b9241ffe42f38c43a2.tar.gz
abslibre-c17675a326b91be9d2e401b9241ffe42f38c43a2.tar.bz2
abslibre-c17675a326b91be9d2e401b9241ffe42f38c43a2.zip
octave-signal-1.3.2-2: rebuild
Diffstat (limited to 'pcr/octave-signal/octave-signal.install')
-rw-r--r--pcr/octave-signal/octave-signal.install11
1 files changed, 3 insertions, 8 deletions
diff --git a/pcr/octave-signal/octave-signal.install b/pcr/octave-signal/octave-signal.install
index 42a675a36..4b9415f43 100644
--- a/pcr/octave-signal/octave-signal.install
+++ b/pcr/octave-signal/octave-signal.install
@@ -1,18 +1,13 @@
_pack=signal
-## arg 1: the new package version
post_install() {
- octave -q -f --eval "pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
+ octave -q -f --eval "pkg rebuild -global $_pack"
}
-## arg 1: the new package version
-## arg 2: the old package version
post_upgrade() {
- post_remove
- post_install
+ post_install
}
-## arg 1: the old package version
post_remove() {
- octave -q -f --eval "pkg uninstall $_pack; pkg rebuild -global"
+ octave -q -f --eval "pkg rebuild -global"
}