diff options
author | wangjiezhe | 2015-12-14 21:00:59 +0800 |
---|---|---|
committer | wangjiezhe | 2015-12-14 21:00:59 +0800 |
commit | ecf10eb14d607467741bba507e3a8ccc49b24e07 (patch) | |
tree | 5d23b1d6359bff82ca9df69d414865795eec8ec0 /octave-specfun.install | |
parent | 7ff7e30209a89fdb7ad272f4f60fe5c3c57deb22 (diff) | |
download | aur-ecf10eb14d607467741bba507e3a8ccc49b24e07.tar.gz |
C++11 ABI rebuild
Diffstat (limited to 'octave-specfun.install')
-rw-r--r-- | octave-specfun.install | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/octave-specfun.install b/octave-specfun.install index 70146cb0fa91..b354f24edf8a 100644 --- a/octave-specfun.install +++ b/octave-specfun.install @@ -1,7 +1,11 @@ _pack=specfun +_octave_run() { + octave --no-history --no-init-file --no-window-system -q -f --eval "$*" +} + post_install() { - octave -q -f --eval "pkg rebuild -global $_pack" + _octave_run "pkg rebuild -global $_pack" } post_upgrade() { @@ -9,5 +13,5 @@ post_upgrade() { } post_remove() { - octave -q -f --eval "pkg rebuild -global" + _octave_run "pkg rebuild -global" } |