mirror of https://gitlab.com/basile.b/dexed.git
fix, cesetup, error under opensuse
This commit is contained in:
parent
57af2d7428
commit
790b256a8a
|
@ -99,7 +99,7 @@ void main(string[] args)
|
||||||
else exePath = "/usr/bin";
|
else exePath = "/usr/bin";
|
||||||
string appDataPath;
|
string appDataPath;
|
||||||
version(win32) appDataPath = environment.get("APPDATA") ~ r"\Coedit\";
|
version(win32) appDataPath = environment.get("APPDATA") ~ r"\Coedit\";
|
||||||
else appDataPath = environment.get("HOME") ~ r"/Coedit/";
|
else appDataPath = "/home/" ~ environment.get("SUDO_USER") ~ "/Coedit/";
|
||||||
|
|
||||||
writeln("|---------------------------------------------|");
|
writeln("|---------------------------------------------|");
|
||||||
writeln("| Coedit 1.0 RC1 setup |");
|
writeln("| Coedit 1.0 RC1 setup |");
|
||||||
|
@ -110,6 +110,15 @@ void main(string[] args)
|
||||||
writeln("| -u: uninstall |");
|
writeln("| -u: uninstall |");
|
||||||
writeln("| press a key to continue... |");
|
writeln("| press a key to continue... |");
|
||||||
writeln("|---------------------------------------------|");
|
writeln("|---------------------------------------------|");
|
||||||
|
|
||||||
|
|
||||||
|
version(win32){} else if (environment.get("SUDO_USER") == "")
|
||||||
|
{
|
||||||
|
writeln("the extractor must be run as sudo !");
|
||||||
|
readln;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
readln;
|
readln;
|
||||||
writeln("|---------------------------------------------|");
|
writeln("|---------------------------------------------|");
|
||||||
size_t failures;
|
size_t failures;
|
||||||
|
|
Loading…
Reference in New Issue