summaryrefslogtreecommitdiffstats
path: root/base/gsl/gsl.install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-18 19:37:09 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-18 19:37:09 +0100
commit50d9cd9134279a9e94b71d5cfeef0542c405a898 (patch)
tree92d6ed0b896dccadd7285a8776df4a0e4b597bc8 /base/gsl/gsl.install
parent991a9a1a05f635dce7adb0281a024c1b5d223496 (diff)
downloadnutyx-extra-50d9cd9134279a9e94b71d5cfeef0542c405a898.tar.gz
nutyx-extra-50d9cd9134279a9e94b71d5cfeef0542c405a898.tar.bz2
nutyx-extra-50d9cd9134279a9e94b71d5cfeef0542c405a898.tar.xz
nutyx-extra-50d9cd9134279a9e94b71d5cfeef0542c405a898.zip
gsl, déplacé dans base
Diffstat (limited to 'base/gsl/gsl.install')
-rw-r--r--base/gsl/gsl.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/base/gsl/gsl.install b/base/gsl/gsl.install
new file mode 100644
index 000000000..c5697deda
--- /dev/null
+++ b/base/gsl/gsl.install
@@ -0,0 +1,21 @@
+ infodir=/usr/share/info
+ filelist=(gsl-ref.info.gz)
+
+ post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+
+ }
+
+ post_upgrade() {
+ post_install $1
+ }
+
+ pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+
+ }
+