diff options
Diffstat (limited to 'pcr/octave-signal/octave-signal.install')
-rw-r--r-- | pcr/octave-signal/octave-signal.install | 11 |
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" } |