x11-base/xorg-x11: Drop ancient xorg.conf save/restore
authorMatt Turner <mattst88@gentoo.org>
Tue, 8 May 2018 22:03:49 +0000 (15:03 -0700)
committerMatt Turner <mattst88@gentoo.org>
Tue, 8 May 2018 22:06:49 +0000 (15:06 -0700)
x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild

index 8c1be663bdec3b9549b7b591e9839ac9d68c01b2..d79bbd0363f2916a931e11cd4fffb2e0d1260b1f 100644 (file)
@@ -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."