[LyX/master] Hint message when .lyx dir can not be created.
Pavel Sanda
sanda at lyx.org
Tue Dec 8 08:26:07 UTC 2020
commit a222a2eab681ff0dc8fa5adfe6c353bf38ab3e0f
Author: Pavel Sanda <sanda at lyx.org>
Date: Tue Dec 8 09:53:38 2020 +0100
Hint message when .lyx dir can not be created.
Useful for scripts running without standard homedir environments,
cf https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816173
---
src/LyX.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/LyX.cpp b/src/LyX.cpp
index 44361ba..a0035fb 100644
--- a/src/LyX.cpp
+++ b/src/LyX.cpp
@@ -1103,7 +1103,7 @@ bool LyX::queryUserLyXDir(bool explicit_userdir)
if (!sup.createDirectory(0755)) {
// Failed, so let's exit.
- lyxerr << to_utf8(_("Failed to create directory. Exiting."))
+ lyxerr << to_utf8(_("Failed to create directory. Perhaps wrong -userdir option?\nExiting."))
<< endl;
earlyExit(EXIT_FAILURE);
}
More information about the lyx-cvs
mailing list