commit:     e08b2ed7cb6565a5d858ee966252aee401ecad75
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue May  8 22:03:49 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May  8 22:06:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08b2ed7

x11-base/xorg-x11: Drop ancient xorg.conf save/restore

 x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild 
b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild
index 8c1be663bde..d79bbd0363f 100644
--- a/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild
+++ b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild
@@ -119,19 +119,7 @@ RDEPEND="${RDEPEND}
 
 DEPEND="${RDEPEND}"
 
-pkg_preinst() {
-       # Save xorg.conf because of bug #278268
-       if [[ -f "${EROOT%/}/etc/X11/xorg.conf" ]]; then
-               cp "${EROOT%/}/etc/X11/xorg.conf" "${T}" || die
-       fi
-}
-
 pkg_postinst() {
-       # Restore saved xorg.conf
-       if [[ -f "${T}/xorg.conf" ]]; then
-               cp "${T}/xorg.conf" "${EROOT%/}/etc/X11/xorg.conf" || die
-       fi
-
        elog
        elog "Please note that the xcursors are in 
${EROOT%/}/usr/share/cursors/${PN}."
        elog "Any custom cursor sets should be placed in that directory."

Reply via email to