2 _prefix=/usr/share/octave/packages
3 _libdir=/usr/lib/octave/packages
5 ## arg 1: the new package version
7 octave -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
10 ## arg 1: the new package version
11 ## arg 2: the old package version
17 ## arg 1: the old package version
19 octave -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack"