From e0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 17 Dec 2009 23:38:48 +0100 Subject: fftw, déplacé dans base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/fftw/fftw.install | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 base/fftw/fftw.install (limited to 'base/fftw/fftw.install') diff --git a/base/fftw/fftw.install b/base/fftw/fftw.install new file mode 100644 index 000000000..a3748aae1 --- /dev/null +++ b/base/fftw/fftw.install @@ -0,0 +1,22 @@ +info_dir=/usr/share/info +info_files=(fftw3.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + + + + -- cgit v1.2.3-70-g09d2