diff options
author | wangjiezhe | 2016-12-29 14:15:18 +0800 |
---|---|---|
committer | wangjiezhe | 2016-12-29 14:15:18 +0800 |
commit | 93187530947706f2dd657e5bd2a1b8a4fa7e38a1 (patch) | |
tree | c04e791006b087ccd46fe667cbf0bac389cbca17 /octave-signal.install | |
parent | 8bd343c708d0f43e8c1b19db9250553033f069f8 (diff) | |
download | aur-93187530947706f2dd657e5bd2a1b8a4fa7e38a1.tar.gz |
rebuild for octave 4.2.0
Diffstat (limited to 'octave-signal.install')
-rw-r--r-- | octave-signal.install | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/octave-signal.install b/octave-signal.install index 4b9415f4352c..b4b934f9a02e 100644 --- a/octave-signal.install +++ b/octave-signal.install @@ -1,7 +1,11 @@ _pack=signal +_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" } |