mirror of
https://github.com/hassio-addons/addon-motioneye.git
synced 2025-05-04 19:21:22 +00:00
Fixed variable target dirs.
This commit is contained in:
parent
4b3ee7af8e
commit
73d61e8e78
1 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue