summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-01-28 17:58:55 +0000
committerZac Medico <zmedico@gentoo.org>2013-01-28 17:58:55 +0000
commit79aceb162d01b318f777fda3964942e85debbc99 (patch)
tree76291bef82f64df795e1b77533cf5d8780b3711c /app-portage
parentComment on non-fatal chgrp, which is intended for prefix compatibility. (diff)
downloadgentoo-2-79aceb162d01b318f777fda3964942e85debbc99.tar.gz
gentoo-2-79aceb162d01b318f777fda3964942e85debbc99.tar.bz2
gentoo-2-79aceb162d01b318f777fda3964942e85debbc99.zip
Use REPLACING_VERSIONS instead of has_version.
(Portage version: 2.2.0_alpha161_p3/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/emerge-delta-webrsync/ChangeLog6
-rw-r--r--app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild7
2 files changed, 7 insertions, 6 deletions
diff --git a/app-portage/emerge-delta-webrsync/ChangeLog b/app-portage/emerge-delta-webrsync/ChangeLog
index 6c4af990ddfc..394c0f2ff1ed 100644
--- a/app-portage/emerge-delta-webrsync/ChangeLog
+++ b/app-portage/emerge-delta-webrsync/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-portage/emerge-delta-webrsync
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/emerge-delta-webrsync/ChangeLog,v 1.38 2013/01/28 17:50:08 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/emerge-delta-webrsync/ChangeLog,v 1.39 2013/01/28 17:58:55 zmedico Exp $
+
+ 28 Jan 2013; Zac Medico <zmedico@gentoo.org>
+ emerge-delta-webrsync-3.6.2.ebuild:
+ Use REPLACING_VERSIONS instead of has_version.
28 Jan 2013; Zac Medico <zmedico@gentoo.org>
emerge-delta-webrsync-3.6.2.ebuild:
diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild
index 4e53f29a57a6..3c9d1d5f494d 100644
--- a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild
+++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild,v 1.3 2013/01/28 17:50:08 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.2.ebuild,v 1.4 2013/01/28 17:58:55 zmedico Exp $
EAPI=4
DESCRIPTION="emerge-webrsync using patches to minimize bandwidth"
@@ -34,13 +34,10 @@ pkg_preinst() {
# Failure here is non-fatal, since the "portage" group
# doesn't necessarily exist on prefix systems.
chgrp portage "${ED}"/var/delta-webrsync 2>/dev/null
-
- has_version "$CATEGORY/$PN"
- WAS_PREVIOUSLY_INSTALLED=$?
}
pkg_postinst() {
- if [[ $WAS_PREVIOUSLY_INSTALLED != 0 ]] && \
+ if [[ -z ${REPLACING_VERSIONS} ]] && \
! has_version app-arch/tarsync ; then
elog "For maximum emerge-delta-webrsync" \
"performance, install app-arch/tarsync."