mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
print the userdata and conf directories
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
This commit is contained in:
committed by
Kai Kreuzer
parent
860eaae975
commit
b55b486360
@@ -109,6 +109,8 @@ public class UpgradeTool {
|
||||
println("Please either set the environment variable ${OPENHAB_USERDATA} or provide a directory through the --userdata option.");
|
||||
System.exit(0);
|
||||
return;
|
||||
} else if (userdataDir != null) {
|
||||
logger.info("Using userdataDir: {}", userdataDir);
|
||||
}
|
||||
|
||||
String confDir = commandLine.hasOption(OPT_CONF_DIR) ? commandLine.getOptionValue(OPT_CONF_DIR)
|
||||
@@ -117,6 +119,8 @@ public class UpgradeTool {
|
||||
println("Please either set the environment variable ${OPENHAB_CONF} or provide a directory through the --conf option.");
|
||||
System.exit(0);
|
||||
return;
|
||||
} else {
|
||||
logger.info("Using confDir: {}", confDir);
|
||||
}
|
||||
|
||||
Path upgradeJsonDatabasePath = Path.of(userdataDir, "jsondb", "org.openhab.core.tools.UpgradeTool");
|
||||
|
||||
Reference in New Issue
Block a user