summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2022-11-05 00:40:10 +0000
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2022-11-04 23:38:22 +0000
commitdd67199098eaf30743266f149d839e4843a3c61a (patch)
treed55cb7629e058f1bfb1a4e10f519dd966bc77b71
parentb1f87280c29e08fdebef7df1478b1a9a5e276a62 (diff)
downloadtde-packaging-gentoo-dd67199098eaf30743266f149d839e4843a3c61a.tar.gz
tde-packaging-gentoo-dd67199098eaf30743266f149d839e4843a3c61a.zip
Fix tdm, fix issue #279
Signed-off-by: ormorph <roma251078@mail.ru>
-rw-r--r--trinity-base/tdm/tdm-14.0.12.ebuild2
-rw-r--r--trinity-base/tdm/tdm-14.0.13.ebuild4
-rw-r--r--trinity-base/tdm/tdm-9999.ebuild2
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