Skip to content

Commit

Permalink
gui-libs/display-manager-init: copy instead of moving old xdm conf.d …
Browse files Browse the repository at this point in the history
…file.

Signed-off-by: Piotr Karbowski <[email protected]>
  • Loading branch information
Piotr Karbowski committed Feb 1, 2021
1 parent c296a66 commit 226784f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ src_install() {

pkg_preinst() {
if [[ ${REPLACING_VERSIONS} == "" && -f "${EROOT}"/etc/conf.d/xdm && ! -f "${EROOT}"/etc/conf.d/display-manager ]]; then
mv "${EROOT}"/etc/conf.d/{xdm,display-manager} || die
cp -a "${EROOT}"/etc/conf.d/{xdm,display-manager} || die
fi
local rlevel using_xdm
using_xdm=no
Expand Down

0 comments on commit 226784f

Please sign in to comment.