summaryrefslogtreecommitdiff
path: root/debian.lenny
diff options
context:
space:
mode:
authorJulien Jehannet <julien.jehannet@logilab.fr>2010-04-28 10:12:17 +0200
committerJulien Jehannet <julien.jehannet@logilab.fr>2010-04-28 10:12:17 +0200
commit57397607feb1f9f97238f27d7e11606b3a559049 (patch)
treea94976b4aec102507a8b7d8c585ff9fea4f471a6 /debian.lenny
parentceb282221da2a101e97b228aadd63c67c551ae9a (diff)
downloadlogilab-common-57397607feb1f9f97238f27d7e11606b3a559049.tar.gz
debian: quiet pycentral removing on upgrade
Diffstat (limited to 'debian.lenny')
-rw-r--r--debian.lenny/python-logilab-common.preinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian.lenny/python-logilab-common.preinst b/debian.lenny/python-logilab-common.preinst
index 2491e89..9c71641 100644
--- a/debian.lenny/python-logilab-common.preinst
+++ b/debian.lenny/python-logilab-common.preinst
@@ -4,8 +4,7 @@ case "$1" in
install)
;;
upgrade)
- pycentral pkgremove python-logilab-common || true
- echo "Start cleaning pycentral..."
+ pycentral pkgremove python-logilab-common 2>/dev/null || true
rm -vrf /usr/lib/$(pyversions -d)/site-packages/logilab/common
if [[ $(find /usr/lib/$(pyversions -d)/site-packages/logilab/ -maxdepth 1 -type d | wc -l) = '1' ]]; then
rm -vrf /usr/lib/$(pyversions -d)/site-packages/logilab/