summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-13 03:48:15 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-13 03:48:15 +0300
commit73cc100c296f8a7ab72d6b19b2a45321816f3383 (patch)
tree1af2cf35e39f591d39e78902c3d9339871c5a3b1
parentcdce51947e39472a74c96c5d543b73fdd0151058 (diff)
psi: install translations to proper location
-rw-r--r--packages/net-im/psi/psi-scm.exheres-04
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/net-im/psi/psi-scm.exheres-0 b/packages/net-im/psi/psi-scm.exheres-0
index b9afb50..8ef1475 100644
--- a/packages/net-im/psi/psi-scm.exheres-0
+++ b/packages/net-im/psi/psi-scm.exheres-0
@@ -179,10 +179,10 @@ src_install() {
emagicdocs
mylrelease=lrelease-qt5
cd "${WORK}"/psi-l10n
- insinto /usr/share/${MY_PN}
+ insinto /usr/$(exhost --target)/share/${MY_PN}
for lang in ${LANGS}; do
if option "linguas:${lang}"; then
- "${mylrelease}" "translations/${PN}_${lang}.ts" || die "lrelease ${1} failed"
+ edo "${mylrelease}" "translations/${PN}_${lang}.ts"
doins "translations/${PN}_${lang}.qm"
fi
done