Fixed variable target dirs.

This commit is contained in:
Clewsy 2020-02-13 13:59:34 +11:00
parent 4b3ee7af8e
commit 73d61e8e78

View file

@ -3,8 +3,8 @@
# Community Hass.io Add-ons: motionEye
# Creates initial motionEye configuration in case it is non-existing
# ==============================================================================
readonly CONF='/data/motioneye/motioneye.conf'
readonly MOTION='/data/motioneye/motion.conf'
readonly CONF='/config/motioneye/motioneye.conf'
readonly MOTION='/config/motioneye/motion.conf'
# Ensure configuration exists
if ! bashio::fs.directory_exists '/config/motioneye'; then
@ -16,7 +16,6 @@ if ! bashio::fs.directory_exists '/config/motioneye'; then
fi
# Migration
if bashio::fs.file_exists "${CONF}"; then
bashio::log.debug "Running startup migrations"