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

This commit is contained in:
Matt Turner
2018-05-08 15:06:49 -07:00
parent b7c8e3389a
commit e08b2ed7cb
-12
View 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."