changeset 15:2135485b81c7

Rename USER_THERMOSTAT_HOME from .thermostat to .thermostat-ng This patch renames the user data directory from ~/.thermostat to ~/.thermostat-ng, allowing old Thermostat and new Thermostat to coexist peacefully.
author Simon Tooke <stooke@redhat.com>
date Mon, 28 Aug 2017 08:20:07 -0400
parents 3d69f746e18f
children c2b62c4b9110
files thermostat-ng.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/thermostat-ng.sh	Fri Aug 25 12:26:25 2017 -0400
+++ b/thermostat-ng.sh	Mon Aug 28 08:20:07 2017 -0400
@@ -207,9 +207,9 @@
 
 config_agent() {
   if [ $CYGWIN_MODE == 1 ] ; then
-    local agent_conf_dir="`cygpath -u ${USERPROFILE}`/.thermostat/etc"
+    local agent_conf_dir="`cygpath -u ${USERPROFILE}`/.thermostat-ng/etc"
   else
-    local agent_conf_dir="$HOME/.thermostat/etc"
+    local agent_conf_dir="$HOME/.thermostat-ng/etc"
   fi
   local agent_conf="${agent_conf_dir}/agent.auth"
   if [ ! -d "$agent_conf" ]; then