dyslexia sucks

This commit is contained in:
Zero_Chaos 2010-01-11 06:19:04 +00:00
parent b482d49f4e
commit 0ba7c201eb
2 changed files with 6 additions and 2 deletions

View file

@ -8,4 +8,4 @@ AUX user-keywords 476 RMD160 f7297498398ef10163194f8e419c9b0d3ed0f9e3 SHA1 6ad61
EBUILD pentoo-2009.1-r1.ebuild 949 RMD160 6ea966878d0813832711b62fc33d3ea49c140916 SHA1 6c15310fba73637e3e3f38070cdd150d6807baec SHA256 6a305964a89355ed3ee926a77c9704f67892836d86e5abac1a75f8bd8a6db3b1
EBUILD pentoo-2009.1-r2.ebuild 1189 RMD160 0c808303b31d2242195c5e1ae347317db20128fb SHA1 323fb9dae9c87f03eeb41ee95e8a81becf7c0f11 SHA256 a5cfb8f16b98a451fd6dfb05b190f25a0fdd0fd71c56e3c60e9bebfe8586e76e
EBUILD pentoo-2009.1.ebuild 742 RMD160 800e8bc740199dc5c1f9daf77e0cb66876e12abf SHA1 1e86c8f888e0308795b0b2c31c9af512688a09ee SHA256 05072a1b4832596fb12454a72d7514329000e69d85a9a4347576b33531b651c7
EBUILD pentoo-2010.0.ebuild 2087 RMD160 5dd88f82d6f35a0533dcbb78c556bf45fdde9e59 SHA1 db11d74c57b49ea531f407843932fcffa72644c4 SHA256 12524476823557f4d36f71a4ba1927773000715ffcbb5c0c82648431b1e7faa9
EBUILD pentoo-2010.0.ebuild 2420 RMD160 dec1cfda49a697101e7a01f7510bd132652d2fc2 SHA1 16a7d47dc076ce991cf966c0eb04d414f7ac60d2 SHA256 bea04c6e9c9f62a658668436d877e32953339e648d589f46042e0ea6f71df64e

View file

@ -20,7 +20,11 @@ DEPEND=""
pkg_setup() {
#We clean up old mistakes here, don't add as a blocker
grep -v 'x11-base/x11-xorg' /var/lib/portage/world > /var/lib/portage/world.cleansed
grep -v 'x11-base/xorg-x11' /var/lib/portage/world > /var/lib/portage/world.cleansed
local grepret=$?
[ ${grepret} -ge 2 ] && [ -f ${ROOT}/var/lib/portage/world ] && die "Tried to grep the world file and got an error."
[ ${grepret} == 0] && einfo "x11-base/xorg-x11 has been purged from world. It's a good thing."
[ ${grepret} == 1] && einfo "x11-base/xorg-x11 was found not in the world file. It's a good thing."
mv /var/lib/portage/world.cleansed /var/lib/portage/world || die "Fixing world failed"
}