[h5py] 26/44: remove legacy crap
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:25:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch upstream/latest
in repository h5py.
commit 770b95791b449db2624038e0e7136538274b3da7
Author: Soeren Sonnenburg <sonne at debian.org>
Date: Sun Jul 24 19:19:01 2011 +0000
remove legacy crap
---
debian/python-h5py.preinst | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/debian/python-h5py.preinst b/debian/python-h5py.preinst
deleted file mode 100644
index 8c31d61..0000000
--- a/debian/python-h5py.preinst
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-# TODO: remove this file after releasing Squeeze
-set -e
-
-PYCENTRAL=/usr/bin/pycentral
-
-if [ "$1" = upgrade ]
-then
- if dpkg --compare-versions "$2" lt 1.3.0-3 ; then
- if [ -x $PYCENTRAL ]; then
- # explicitly remove old python-central files
- pycentral pkgremove python-h5py
- fi
- fi
- # be really sure also removing left-over files and dirs
- # we do outside the previous 'if' since first pysupport
- # release was already distributed
- for pydir in site-packages dist-packages; do
- for pyversion in 2.4 2.5 2.6; do
- if [ -d /usr/lib/python$pyversion/$pydir/h5py/ ]; then
- rm -f /usr/lib/python$pyversion/$pydir/h5py/*
- rmdir --ignore-fail-on-non-empty /usr/lib/python$pyversion/$pydir/h5py/
- fi
- done
- done
-fi
-
-#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git
More information about the debian-science-commits
mailing list