summaryrefslogtreecommitdiff
path: root/pcr/octave-control/octave-control.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-05 17:48:19 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-05 17:48:19 -0500
commit16e36d4bfad42d9f85c597d733fe4587a47e86cc (patch)
tree5c40c6ba4c2f8ba3e553a79cada221162975aab1 /pcr/octave-control/octave-control.install
parenta1babc8249c374aa7e61eea254ac87b6b3d7a5e6 (diff)
downloadabslibre-16e36d4bfad42d9f85c597d733fe4587a47e86cc.tar.gz
abslibre-16e36d4bfad42d9f85c597d733fe4587a47e86cc.tar.bz2
abslibre-16e36d4bfad42d9f85c597d733fe4587a47e86cc.zip
octave-control-2.8.0-1: updating version
Diffstat (limited to 'pcr/octave-control/octave-control.install')
-rw-r--r--pcr/octave-control/octave-control.install6
1 files changed, 2 insertions, 4 deletions
diff --git a/pcr/octave-control/octave-control.install b/pcr/octave-control/octave-control.install
index 2ddb42de9..36e195ce7 100644
--- a/pcr/octave-control/octave-control.install
+++ b/pcr/octave-control/octave-control.install
@@ -1,10 +1,8 @@
_pack=control
-_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"
}