mirror of
https://github.com/hassio-addons/addon-motioneye.git
synced 2025-05-05 03:31:22 +00:00
Removed redundant copy statement.
This commit is contained in:
parent
573a2bf72d
commit
ed2b12ae96
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 "${MOTION}"; then
|
||||
cp /etc/motioneye/motion.conf "${MOTION}" \
|
||||
|| 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