mirror of
https://github.com/hassio-addons/addon-motioneye.git
synced 2025-05-04 19:21:22 +00:00
Fix migration scripts (#454)
This commit is contained in:
parent
37b1cd5150
commit
0626ea113f
1 changed files with 2 additions and 2 deletions
|
@ -19,13 +19,13 @@ fi
|
|||
# Migration
|
||||
if bashio::fs.file_exists "${CONF}"; then
|
||||
bashio::log.debug "Running startup migrations"
|
||||
/usr/lib/python3.10/site-packages/motioneye/scripts/migrateconf.sh "${CONF}"
|
||||
/usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh "${CONF}"
|
||||
find /data/motioneye/ \
|
||||
-maxdepth 1 \
|
||||
-type f \
|
||||
-name "thread-*.conf" \
|
||||
-exec \
|
||||
/usr/lib/python3.10/site-packages/motioneye/scripts/migrateconf.sh {} \;
|
||||
/usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh {} \;
|
||||
fi
|
||||
|
||||
# Configure motion webcontrol access
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue