1 |
commit: 226784f93a4ea533a2160a0181b8a9d7a283cb19 |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 22:45:40 2021 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 22:46:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=226784f9 |
7 |
|
8 |
gui-libs/display-manager-init: copy instead of moving old xdm conf.d file. |
9 |
|
10 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
11 |
|
12 |
gui-libs/display-manager-init/display-manager-init-1.0.ebuild | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/gui-libs/display-manager-init/display-manager-init-1.0.ebuild b/gui-libs/display-manager-init/display-manager-init-1.0.ebuild |
16 |
index 9c7dcb66f18..8b5a2670683 100644 |
17 |
--- a/gui-libs/display-manager-init/display-manager-init-1.0.ebuild |
18 |
+++ b/gui-libs/display-manager-init/display-manager-init-1.0.ebuild |
19 |
@@ -32,7 +32,7 @@ src_install() { |
20 |
|
21 |
pkg_preinst() { |
22 |
if [[ ${REPLACING_VERSIONS} == "" && -f "${EROOT}"/etc/conf.d/xdm && ! -f "${EROOT}"/etc/conf.d/display-manager ]]; then |
23 |
- mv "${EROOT}"/etc/conf.d/{xdm,display-manager} || die |
24 |
+ cp -a "${EROOT}"/etc/conf.d/{xdm,display-manager} || die |
25 |
fi |
26 |
local rlevel using_xdm |
27 |
using_xdm=no |