mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +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 "${condir}/translations" ]; then
|
||||
mkdir -p "${condir}/translations"
|
||||
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
|
||||
echo Copy Qt translations to "${condir}/translations"
|
||||
cp -p "${source}"/translations/qt_*.qm "${condir}/translations"
|
||||
}
|
||||
|
||||
# -------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user