summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-18 03:11:46 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-18 03:11:46 +0000
commitccfac8499bf3a77634211089fe09d49e016c6318 (patch)
tree18c00c907486e377856bf41d1f313fe7c72f9bdf /eclass/eutils.eclass
parentarm/s390/sh stabilize and use the preserve_old_lib funcs (diff)
downloadgentoo-2-ccfac8499bf3a77634211089fe09d49e016c6318.tar.gz
gentoo-2-ccfac8499bf3a77634211089fe09d49e016c6318.tar.bz2
gentoo-2-ccfac8499bf3a77634211089fe09d49e016c6318.zip
enable the `die` in the preserve_old_lib funcs
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index cde8ba217928..3a7ee91bf384 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.275 2007/02/17 00:17:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.276 2007/02/18 03:11:46 vapier Exp $
#
# This eclass is for general purpose functions that most ebuilds
# have to implement themselves.
@@ -1583,7 +1583,7 @@ set_arch_to_portage() {
preserve_old_lib() {
if [[ ${EBUILD_PHASE} != "preinst" ]] ; then
eerror "preserve_old_lib() must be called from pkg_preinst() only"
-# die "Invalid preserve_old_lib() usage"
+ die "Invalid preserve_old_lib() usage"
fi
[[ -z $1 ]] && die "Usage: preserve_old_lib <library to preserve> [more libraries to preserve]"
@@ -1600,7 +1600,7 @@ preserve_old_lib() {
preserve_old_lib_notify() {
if [[ ${EBUILD_PHASE} != "postinst" ]] ; then
eerror "preserve_old_lib_notify() must be called from pkg_postinst() only"
-# die "Invalid preserve_old_lib_notify() usage"
+ die "Invalid preserve_old_lib_notify() usage"
fi
local lib notice=0