Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Commit

Permalink
Fix "migration" on a fresh install.
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed May 5, 2019
1 parent c88a17d commit 58c50e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/opt/hassbian/suites/python/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function upgrade {
mv "$HOME_ASSISTANT_VENV" "$HOME_ASSISTANT_VENV_$hapyversion"

echo "Creating new virutal environment using Python $remotepyversion..."
mkdir "$HOME_ASSISTANT_VENV"
python"${remotepyversion:: -2}" -m venv "$HOME_ASSISTANT_VENV"

echo "Copying hassbian from the old venv to the new..."
Expand Down

0 comments on commit 58c50e4

Please sign in to comment.