From 0e0e8b8d2fdf71980614efa91bf58d60c0627dee Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Sun, 29 May 2011 15:17:22 +0000 Subject: [PATCH] Retire postinst and postrm scripts, obsolete as of r6878. --- debian/postinst | 48 ------------------------------------------------ debian/postrm | 41 ----------------------------------------- 2 files changed, 89 deletions(-) delete mode 100644 debian/postinst delete mode 100644 debian/postrm 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 -- 2.30.2