summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hartmann <ian@gentoo.org>2007-02-23 17:22:07 +0000
committerChristian Hartmann <ian@gentoo.org>2007-02-23 17:22:07 +0000
commit70e99cf5bfd2bdad97cda44330e216e35e5c096c (patch)
tree4c17c0dad0887f60baea831b47fa8d91a76a7c98 /app-portage
parentFixed bug #168073 (diff)
downloadgentoo-2-70e99cf5bfd2bdad97cda44330e216e35e5c096c.tar.gz
gentoo-2-70e99cf5bfd2bdad97cda44330e216e35e5c096c.tar.bz2
gentoo-2-70e99cf5bfd2bdad97cda44330e216e35e5c096c.zip
un-ROOTing
(Portage version: 2.1.2-r10)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/demerge/ChangeLog5
-rw-r--r--app-portage/demerge/demerge-0.027.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/app-portage/demerge/ChangeLog b/app-portage/demerge/ChangeLog
index 373a455fcd0c..1b80f23ba8d2 100644
--- a/app-portage/demerge/ChangeLog
+++ b/app-portage/demerge/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-portage/demerge
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/demerge/ChangeLog,v 1.7 2007/02/22 23:47:20 ian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/demerge/ChangeLog,v 1.8 2007/02/23 17:22:07 ian Exp $
+
+ 23 Feb 2007; Christian Hartmann <ian@gentoo.org> demerge-0.027.ebuild:
+ un-ROOTing
*demerge-0.027 (22 Feb 2007)
diff --git a/app-portage/demerge/demerge-0.027.ebuild b/app-portage/demerge/demerge-0.027.ebuild
index f2b9afe2a3b3..d12fbb997cea 100644
--- a/app-portage/demerge/demerge-0.027.ebuild
+++ b/app-portage/demerge/demerge-0.027.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/demerge/demerge-0.027.ebuild,v 1.1 2007/02/22 23:47:20 ian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/demerge/demerge-0.027.ebuild,v 1.2 2007/02/23 17:22:07 ian Exp $
DESCRIPTION="demerge - revert to previous installation states"
HOMEPAGE="http://download.iansview.com/gentoo/tools/demerge/"
@@ -23,11 +23,11 @@ src_install() {
}
pkg_postinst() {
- if [ ! -e ${ROOT}/etc/portage/postsync.d/demerge-record ]; then
- mkdir -p ${ROOT}/etc/portage/postsync.d/
- echo '[ -x /usr/bin/demerge ] && /usr/bin/demerge --postsync' > ${ROOT}/etc/portage/postsync.d/demerge-record
- elog "${ROOT}/etc/portage/postsync.d/demerge-record has been installed for convenience"
- elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x ${ROOT}/etc/portage/postsync.d/demerge-record"
- elog "If ever you find this to be an inconvenience simply chmod -x ${ROOT}/etc/portage/postsync.d/demerge-record"
+ if [ ! -e /etc/portage/postsync.d/demerge-record ]; then
+ mkdir -p /etc/portage/postsync.d/
+ echo '[ -x /usr/bin/demerge ] && /usr/bin/demerge --postsync' > /etc/portage/postsync.d/demerge-record
+ elog "/etc/portage/postsync.d/demerge-record has been installed for convenience"
+ elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x /etc/portage/postsync.d/demerge-record"
+ elog "If ever you find this to be an inconvenience simply chmod -x /etc/portage/postsync.d/demerge-record"
fi
}