diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-20 17:46:35 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-20 17:46:35 -0500 |
commit | 492b06012eb663166032a2c35650b3ff62501a92 (patch) | |
tree | f3e01d08fb080a53fddba6afe09a3301b53a6998 /pcr/octave-control/octave-control.install | |
parent | 693456d81ea6c816c49ed8069c9b81a8c63f7c36 (diff) |
octave-control-2.8.1-1: updating version
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" } |