From dd67199098eaf30743266f149d839e4843a3c61a Mon Sep 17 00:00:00 2001 From: ormorph Date: Sat, 5 Nov 2022 00:40:10 +0000 Subject: Fix tdm, fix issue #279 Signed-off-by: ormorph --- trinity-base/tdm/tdm-14.0.12.ebuild | 2 +- trinity-base/tdm/tdm-14.0.13.ebuild | 4 ++-- trinity-base/tdm/tdm-9999.ebuild | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/trinity-base/tdm/tdm-14.0.12.ebuild b/trinity-base/tdm/tdm-14.0.12.ebuild index 06cbc65e..a8e8a3a2 100644 --- a/trinity-base/tdm/tdm-14.0.12.ebuild +++ b/trinity-base/tdm/tdm-14.0.12.ebuild @@ -100,7 +100,7 @@ pkg_postinst() { fi if [[ "$sak_ok" != yes ]]; then sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSAK=false:' \ - "${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" + "${ROOT}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true" ewarn "in ${TDEDIR}/share/config/tdm/tdmrc " else diff --git a/trinity-base/tdm/tdm-14.0.13.ebuild b/trinity-base/tdm/tdm-14.0.13.ebuild index e801ca1b..a8e8a3a2 100644 --- a/trinity-base/tdm/tdm-14.0.13.ebuild +++ b/trinity-base/tdm/tdm-14.0.13.ebuild @@ -56,7 +56,7 @@ src_install() { # Customize the tdmrc configuration sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \ - "${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" + "${D}/${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" # Install XSession upstream script seems to be debian-cpecific cp "${FILESDIR}/${PN}-14.0.8-xsession.script" "${D}/${TDEDIR}/share/config/tdm/Xsession" || die @@ -100,7 +100,7 @@ pkg_postinst() { fi if [[ "$sak_ok" != yes ]]; then sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSAK=false:' \ - "${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" + "${ROOT}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true" ewarn "in ${TDEDIR}/share/config/tdm/tdmrc " else diff --git a/trinity-base/tdm/tdm-9999.ebuild b/trinity-base/tdm/tdm-9999.ebuild index a6fcc57a..1a7042ae 100644 --- a/trinity-base/tdm/tdm-9999.ebuild +++ b/trinity-base/tdm/tdm-9999.ebuild @@ -100,7 +100,7 @@ pkg_postinst() { fi if [[ "$sak_ok" != yes ]]; then sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSAK=false:' \ - "${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" + "${ROOT}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed" ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true" ewarn "in ${TDEDIR}/share/config/tdm/tdmrc " else -- cgit v1.2.1