diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-05 18:02:53 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-05 18:02:53 -0500 |
commit | 7535e6a382fd91cbd9eb05b4fa3167a710ea2511 (patch) | |
tree | bd715801ce12882bdd0022f5381425953b42f9e9 /pcr/octave-signal/octave-signal.install | |
parent | b34f808022ae31c05f4f45d2e432307c5159b24d (diff) |
octave-signal-1.3.2-1: updating version
Diffstat (limited to 'pcr/octave-signal/octave-signal.install')
-rw-r--r-- | pcr/octave-signal/octave-signal.install | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pcr/octave-signal/octave-signal.install b/pcr/octave-signal/octave-signal.install index 1d5a466a5..42a675a36 100644 --- a/pcr/octave-signal/octave-signal.install +++ b/pcr/octave-signal/octave-signal.install @@ -1,10 +1,8 @@ _pack=signal -_prefix=/usr/share/octave/packages -_libdir=/usr/lib/octave/packages ## arg 1: the new package version post_install() { - octave -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz" + octave -q -f --eval "pkg install -verbose -global /usr/share/octave/$_pack.tar.gz" } ## arg 1: the new package version @@ -16,5 +14,5 @@ post_upgrade() { ## arg 1: the old package version post_remove() { - octave -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack; pkg rebuild -global" + octave -q -f --eval "pkg uninstall $_pack; pkg rebuild -global" } |