From: Aaron M. Ucko Date: Sun, 29 May 2011 15:17:22 +0000 (+0000) Subject: Retire postinst and postrm scripts, obsolete as of r6878. X-Git-Tag: archive/raspbian/2.16.0+ds-7+rpi1~1^2~345 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0e0e8b8d2fdf71980614efa91bf58d60c0627dee;p=ncbi-blast%2B.git Retire postinst and postrm scripts, obsolete as of r6878. --- diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 8001b8d3..00000000 --- a/debian/postinst +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# postinst script for blast+ -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - configure) - echo "/usr/lib/ncbi-blast+" > /etc/ld.so.conf.d/ncbi-blast+.conf - ldconfig - #grep "BLASTDB" /etc/ncbi/.ncbirc >/dev/null - #if [ $? -eq 0 ];then - # echo "/etc/ncbi/.ncbirc already configured" - #else - # echo "[BLAST]\n" >> /etc/ncbi/.ncbirc - # echo "BLASTDB=/var/lib/ncbi-blast+/db\n" >> /etc/ncbi/.ncbirc - #fi - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/postrm b/debian/postrm deleted file mode 100644 index 183e4737..00000000 --- a/debian/postrm +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -# postrm script for blast-plus -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `purge' -# * `upgrade' -# * `failed-upgrade' -# * `abort-install' -# * `abort-install' -# * `abort-upgrade' -# * `disappear' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|purge) - rm /etc/ld.so.conf.d/ncbi-blast+.conf - ldconfig - ;; - upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0