summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-11 00:53:26 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-11 00:53:26 +0000
commitc9dc8a989bd6d6fda60dfe5d21a298aa0ed95210 (patch)
tree99de4a59e18e4d9dc9ffab4dd88ff37ac4369dd8 /x11-misc/entrance
parentsecurity mask mail-filter/libspf (diff)
downloadhistorical-c9dc8a989bd6d6fda60dfe5d21a298aa0ed95210.tar.gz
historical-c9dc8a989bd6d6fda60dfe5d21a298aa0ed95210.tar.bz2
historical-c9dc8a989bd6d6fda60dfe5d21a298aa0ed95210.zip
generate new entrance_config.cfg automatically based upon /etc/X11/Sessions
Package-Manager: portage-2.1.1_pre4
Diffstat (limited to 'x11-misc/entrance')
-rw-r--r--x11-misc/entrance/Manifest14
-rw-r--r--x11-misc/entrance/entrance-9999.ebuild12
2 files changed, 17 insertions, 9 deletions
diff --git a/x11-misc/entrance/Manifest b/x11-misc/entrance/Manifest
index 44d9b994a9b1..668dfb96f330 100644
--- a/x11-misc/entrance/Manifest
+++ b/x11-misc/entrance/Manifest
@@ -7,10 +7,10 @@ EBUILD entrance-0.9.0.007.ebuild 1145 RMD160 a7252b4352cc225ea9e314ac4b7e5ba6579
MD5 415443a6e5e9d1de654b00d88784eb04 entrance-0.9.0.007.ebuild 1145
RMD160 a7252b4352cc225ea9e314ac4b7e5ba6579cce43 entrance-0.9.0.007.ebuild 1145
SHA256 5a812fec346391e411dcb712f671ff4997f34f77e5bdbf232358ebb3742318e0 entrance-0.9.0.007.ebuild 1145
-EBUILD entrance-9999.ebuild 1196 RMD160 2b8e141a2b6d0161f74eb547f6837622341cd3dc SHA1 c6a6098c546bc96cbdf5acda66d8accd9340bb9c SHA256 333bdadc569c4ee30692f6121ae716c563e921fb74ce0222cb70921600779967
-MD5 eba6696c9da18abae6ad71e89f26cb93 entrance-9999.ebuild 1196
-RMD160 2b8e141a2b6d0161f74eb547f6837622341cd3dc entrance-9999.ebuild 1196
-SHA256 333bdadc569c4ee30692f6121ae716c563e921fb74ce0222cb70921600779967 entrance-9999.ebuild 1196
+EBUILD entrance-9999.ebuild 1389 RMD160 cf3871fac47e93e411ba0f4c4edc55f112f7727f SHA1 3c6a84f6c2c644a54df0bbb35dd44b555a03e79d SHA256 c4f03fa2b05abd39597dfc951d84e5f73c5cab3559461cffd120373149c969cf
+MD5 08412c554d2b454b3df872ce7f7346db entrance-9999.ebuild 1389
+RMD160 cf3871fac47e93e411ba0f4c4edc55f112f7727f entrance-9999.ebuild 1389
+SHA256 c4f03fa2b05abd39597dfc951d84e5f73c5cab3559461cffd120373149c969cf entrance-9999.ebuild 1389
MISC ChangeLog 1127 RMD160 37d55fe3e15ef8754d39622da2381b3101e89d5b SHA1 61c3e02208e1cdd83404a5e5cdb48bbdf0fb1774 SHA256 c5a483da02a9844b7cb649f2f45f449b9c8efd588d30fadb269c3e68656c0bce
MD5 acba94e3d5ee752a14f6ef2cd50b4cff ChangeLog 1127
RMD160 37d55fe3e15ef8754d39622da2381b3101e89d5b ChangeLog 1127
@@ -28,7 +28,7 @@ SHA256 445e8fbfb326c39cb8419852c4cf976b84d9e2f408e7e6775e0393eb67ac6957 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFE28pjamhnQswr0vIRAsfRAJ0ZHe5CZhT89W4kGZQ5Ed2mS4dhZQCdHgb2
-I+mMHEKxaEL6B8q8tvM7mL0=
-=t52c
+iD8DBQFE29UlamhnQswr0vIRAjLQAJ9Zv3iMEwWJ6xTJTqK0AHhwiJ4ThwCcCaPW
+jeTdztdk670QvAfusiF8HOs=
+=4xim
-----END PGP SIGNATURE-----
diff --git a/x11-misc/entrance/entrance-9999.ebuild b/x11-misc/entrance/entrance-9999.ebuild
index 6b11271b9972..ca845082ba8b 100644
--- a/x11-misc/entrance/entrance-9999.ebuild
+++ b/x11-misc/entrance/entrance-9999.ebuild
@@ -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/x11-misc/entrance/entrance-9999.ebuild,v 1.10 2006/08/11 00:07:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/entrance/entrance-9999.ebuild,v 1.11 2006/08/11 00:53:26 vapier Exp $
inherit enlightenment eutils
@@ -39,5 +39,13 @@ src_install() {
insinto /usr/share/entrance/images/sessions
doins "${WORKDIR}"/extraicons/*
exeinto /usr/share/entrance
- doexe data/config/build_config.sh
+ doexe data/config/build_config.sh || die
+}
+
+pkg_preinst() {
+ if [[ -d ${ROOT}/etc/X11/Sessions ]] ; then
+ "${D}"/usr/share/entrance/build_config.sh \
+ -c "${D}"/etc/entrance_config.cfg \
+ -d "${ROOT}"/etc/X11/Sessions
+ fi
}