From 6605ebeff58ae68714d532e315dd24f6ce63c33b Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Mon, 15 Jan 2007 09:44:07 +0000 Subject: [PATCH] set default value if PORT_LOGDIR is not set Package-Manager: portage-2.1.1-r2 --- app-portage/elogviewer/ChangeLog | 5 ++++- app-portage/elogviewer/elogviewer-0.5.1.ebuild | 4 ++-- app-portage/kelogviewer/ChangeLog | 7 +++++-- app-portage/kelogviewer/kelogviewer-0.4.0.7.ebuild | 6 +++--- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/app-portage/elogviewer/ChangeLog b/app-portage/elogviewer/ChangeLog index d3584724a2ab..01f4460ad498 100644 --- a/app-portage/elogviewer/ChangeLog +++ b/app-portage/elogviewer/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-portage/elogviewer # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v 1.10 2007/01/09 12:33:50 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v 1.11 2007/01/15 09:44:07 opfer Exp $ + + 15 Jan 2007; elogviewer-0.5.1.ebuild: + set default value if PORT_LOGDIR is not set 09 Jan 2007; Christian Faulhammer -elogviewer-0.5.0.ebuild: diff --git a/app-portage/elogviewer/elogviewer-0.5.1.ebuild b/app-portage/elogviewer/elogviewer-0.5.1.ebuild index a6406b99eb86..651f9d62e3e8 100644 --- a/app-portage/elogviewer/elogviewer-0.5.1.ebuild +++ b/app-portage/elogviewer/elogviewer-0.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/elogviewer-0.5.1.ebuild,v 1.5 2007/01/08 18:11:14 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/elogviewer-0.5.1.ebuild,v 1.6 2007/01/15 09:44:07 opfer Exp $ DESCRIPTION="GTK+ based utility to parse the contents of elogs created by Portage" HOMEPAGE="http://sourceforge.net/projects/elogviewer/" @@ -33,7 +33,7 @@ pkg_postinst() { elog "in /etc/make.conf.example" elog elog "To operate properly this software needs the directory" - elog "$PORT_LOGDIR/elog created, belonging to group portage." + elog "${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage." elog "To start the software as a user, add yourself to the portage" elog "group." elog diff --git a/app-portage/kelogviewer/ChangeLog b/app-portage/kelogviewer/ChangeLog index 022e8bdeaef0..a1473be77178 100644 --- a/app-portage/kelogviewer/ChangeLog +++ b/app-portage/kelogviewer/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-portage/kelogviewer -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/kelogviewer/ChangeLog,v 1.3 2006/12/11 12:00:07 opfer Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/kelogviewer/ChangeLog,v 1.4 2007/01/15 09:42:18 opfer Exp $ + + 15 Jan 2007; kelogviewer-0.4.0.7.ebuild: + set default value if PORT_LOGDIR is not set 11 Dec 2006; Christian Faulhammer kelogviewer-0.4.0.7.ebuild: diff --git a/app-portage/kelogviewer/kelogviewer-0.4.0.7.ebuild b/app-portage/kelogviewer/kelogviewer-0.4.0.7.ebuild index 5f35daff6bc2..22d100d9248c 100644 --- a/app-portage/kelogviewer/kelogviewer-0.4.0.7.ebuild +++ b/app-portage/kelogviewer/kelogviewer-0.4.0.7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/kelogviewer/kelogviewer-0.4.0.7.ebuild,v 1.3 2006/12/11 12:00:07 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/kelogviewer/kelogviewer-0.4.0.7.ebuild,v 1.4 2007/01/15 09:42:18 opfer Exp $ DESCRIPTION="KDE based utility to parse the contents of elogs created by Portage" HOMEPAGE="http://sourceforge.net/projects/elogviewer" @@ -31,7 +31,7 @@ pkg_postinst() { elog "in /etc/make.conf.example" elog elog "To operate properly this software needs the directory" - elog "$PORT_LOGDIR/elog created, belonging to group portage." + elog "${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage." elog "To start the software as a user, add yourself to the portage" elog "group." elog -- 2.26.2