diff options
Diffstat (limited to 'pcr/octave-control/octave-control.install')
-rw-r--r-- | pcr/octave-control/octave-control.install | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/pcr/octave-control/octave-control.install b/pcr/octave-control/octave-control.install index 36e195ce7..be6e3265f 100644 --- a/pcr/octave-control/octave-control.install +++ b/pcr/octave-control/octave-control.install @@ -1,18 +1,13 @@ _pack=control -## 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" } |