mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Add check for existance of Qt translations directory
This commit is contained in:
parent
589f49ff36
commit
a351774745
@ -783,11 +783,13 @@ EOF
|
||||
"@executable_path/../${fwdir}/${version}${libnm}"\
|
||||
"${target}"
|
||||
done
|
||||
if [ -d "${source}"/translations ]; then
|
||||
if [ ! -d "${condir}/translations" ]; then
|
||||
mkdir -p "${condir}/translations"
|
||||
fi
|
||||
echo Copy Qt translations to "${condir}/translations"
|
||||
cp -p "${source}"/translations/qt_*.qm "${condir}/translations"
|
||||
fi
|
||||
}
|
||||
|
||||
# -------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user