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

Skip migration if osname is buster #270

Merged
merged 1 commit into from
May 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions package/opt/hassbian/suites/homeassistant/install
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ function install {
c_rehash

# Check if migration is needed.
source "$HASSBIAN_SUITE_DIR/homeassistant/python-migration"
python-migration true # 'true' forces the migration to run.
if [ "$(hassbian.info.version.osreleasename)" != "buster" ]; then
source "$HASSBIAN_SUITE_DIR/homeassistant/python-migration"
python-migration true # 'true' forces the migration to run.
fi

echo "Setting correct premissions"
chown homeassistant:homeassistant -R "$HOME_ASSISTANT_VENV"
Expand Down