mirror of
https://github.com/hassio-addons/addon-motioneye.git
synced 2025-05-04 19:21:22 +00:00
🔥 Removed redundant copy statement. (#73)
* Amended creation of /data/motioneye/motion.conf if it doesn't exist. * Removed redundant copy statement.
This commit is contained in:
parent
1316420796
commit
817f401b01
1 changed files with 0 additions and 6 deletions
|
@ -11,12 +11,6 @@ if ! bashio::fs.directory_exists '/data/motioneye'; then
|
|||
|| bashio::exit.nok 'Failed to create initial motionEye configuration'
|
||||
fi
|
||||
|
||||
# Needed for existing installations.
|
||||
if ! bashio::fs.file_exists "${CONF}"; then
|
||||
cp /etc/motioneye/motion.conf "${CONF}" \
|
||||
|| bashio::exit.nok 'Failed to create initial motion configuration'
|
||||
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