[med-svn] [libbpp-seq] 01/01: Removed postinst scripts etc.

Julien Dutheil jdutheil-guest at moszumanska.debian.org
Tue Jul 18 06:58:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

jdutheil-guest pushed a commit to branch master
in repository libbpp-seq.

commit 6c2c9d02c983a6a5b60237168630d64b082a747a
Author: Julien Y. Dutheil <dutheil at evolbio.mpg.de>
Date:   Tue Jul 18 08:58:26 2017 +0200

    Removed postinst scripts etc.
---
 debian/changelog |  1 +
 debian/postinst  | 57 ------------------------------------------------------
 debian/postrm    | 59 --------------------------------------------------------
 debian/prerm     | 41 ---------------------------------------
 4 files changed, 1 insertion(+), 157 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 89139bf..11ad1b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 libbpp-seq (2.3.1-6) unstable; urgency=medium
 
   * Increased timeout threshold for Bowker test to pass on all arch.
+  * Removed postins scripts.
 
  -- Julien Dutheil <julien.dutheil at univ-montp2.fr>  Mon, 17 Jul 2017 22:29:29 +0200
 
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100755
index cff89b1..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,57 +0,0 @@
-#! /bin/bash
-
-# Abort if any command returns an error value
-set -e
-
-createGeneric() {
-  echo "-- Creating generic include file: $1.all"
-  #Make sure we run into subdirectories first:
-  dirs=()
-  for file in "$1"/*
-  do
-    if [ -d "$file" ]
-    then
-      # Recursion:
-      dirs+=( "$file" )
-    fi
-  done
-  for dir in ${dirs[@]}
-  do
-    createGeneric $dir
-  done
-  #Now list all files, including newly created .all files:
-  if [ -f $1.all ]
-  then
-    rm $1.all
-  fi
-  dir=`basename $1`
-  for file in "$1"/*
-  do
-    if [ -f "$file" ] && ( [ "${file##*.}" == "h" ] || [ "${file##*.}" == "all" ] )
-    then
-      file=`basename $file`
-      echo "#include \"$dir/$file\"" >> $1.all
-    fi
-  done;
-}
-
-case "$1" in
-  configure)
-    # Actualize .all files
-    createGeneric /usr/include/Bpp
-  ;;
-  abort-upgrade|abort-remove|abort-deconfigure)
-    echo "$1"
-  ;;
-  *)
-    echo "postinst called with unknown argument \`\$1'" >&2
-    exit 0
-  ;;
-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 100755
index 744f8b1..0000000
--- a/debian/postrm
+++ /dev/null
@@ -1,59 +0,0 @@
-#! /bin/bash
-
-# Abort if any command returns an error value
-set -e
-
-createGeneric() {
-  echo "-- Creating generic include file: $1.all"
-  #Make sure we run into subdirectories first:
-  dirs=()
-  for file in "$1"/*
-  do
-    if [ -d "$file" ]
-    then
-      # Recursion:
-      dirs+=( "$file" )
-    fi
-  done
-  for dir in ${dirs[@]}
-  do
-    createGeneric $dir
-  done
-  #Now list all files, including newly created .all files:
-  if [ -f $1.all ]
-  then
-    rm $1.all
-  fi
-  dir=`basename $1`
-  for file in "$1"/*
-  do
-    if [ -f "$file" ] && ( [ "${file##*.}" == "h" ] || [ "${file##*.}" == "all" ] )
-    then
-      file=`basename $file`
-      echo "#include \"$dir/$file\"" >> $1.all
-    fi
-  done;
-}
-
-case "$1" in
-  remove)
-    # Automatically added by dh_makeshlibs
-    ldconfig
-    # Actualize .all files
-    createGeneric /usr/include/Bpp
-  ;;
-  purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-    echo $1
-  ;;
-  *)
-    echo "postrm called with unknown argument \`\$1'" >&2
-    exit 0
-  ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100755
index 8fab52e..0000000
--- a/debian/prerm
+++ /dev/null
@@ -1,41 +0,0 @@
-#! /bin/bash
-
-# Abort if any command returns an error value
-set -e
-
-removeGeneric() {
-  if [ -f $1.all ]
-  then
-    echo "-- Remove generic include file: $1.all"
-    rm $1.all
-  fi
-  for file in "$1"/*
-  do
-    if [ -d "$file" ]
-    then
-      # Recursion:
-      removeGeneric $file
-    fi
-  done
-}
-
-case "$1" in
-  remove|upgrade|deconfigure)
-    # Actualize .all files
-    removeGeneric /usr/include/Bpp
-  ;;
-  failed-upgrade)
-    echo "$1"
-  ;;
-  *)
-    echo "prerm 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libbpp-seq.git



More information about the debian-med-commit mailing list