Change local library path from {config_dir}/lib to {config_dir}/deps. (#1799)

Just on the off chance that someone who happens to run as root and also
doesn't correctly parse "just remove config /lib and restart".
This commit is contained in:
Jan Harkes authored and Paulus Schoutsen committed 2016-04-11 20:07:50 -07:00
1 parent 4857117dda
commit 241735c924
4 files changed
+12 -6

No files matched your search

+2 -2
View File
@@ -58,7 +58,7 @@ class TestBootstrap:
"""Test removal of library on upgrade."""
with tempfile.TemporaryDirectory() as config_dir:
version_path = os.path.join(config_dir, '.HA_VERSION')
lib_dir = os.path.join(config_dir, 'lib')
lib_dir = os.path.join(config_dir, 'deps')
check_file = os.path.join(lib_dir, 'check')
with open(version_path, 'wt') as outp:
@@ -79,7 +79,7 @@ class TestBootstrap:
"""Test removal of library with no upgrade."""
with tempfile.TemporaryDirectory() as config_dir:
version_path = os.path.join(config_dir, '.HA_VERSION')
lib_dir = os.path.join(config_dir, 'lib')
lib_dir = os.path.join(config_dir, 'deps')
check_file = os.path.join(lib_dir, 'check')
with open(version_path, 'wt') as outp: