Removed redundant copy statement.

This commit is contained in:
clewsy 2020-02-10 08:30:08 +11:00
parent 573a2bf72d
commit ed2b12ae96

View file

@ -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"