mirror of
https://github.com/hassio-addons/addon-motioneye.git
synced 2025-05-04 11:11:29 +00:00
Adjust Python version in init script
This commit is contained in:
parent
3fc9e3a307
commit
9fa12e5c26
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.11/site-packages/motioneye/scripts/migrateconf.sh "${CONF}"
|
||||
/usr/lib/python3.12/site-packages/motioneye/scripts/migrateconf.sh "${CONF}"
|
||||
find /data/motioneye/ \
|
||||
-maxdepth 1 \
|
||||
-type f \
|
||||
-name "thread-*.conf" \
|
||||
-exec \
|
||||
/usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh {} \;
|
||||
/usr/lib/python3.12/site-packages/motioneye/scripts/migrateconf.sh {} \;
|
||||
fi
|
||||
|
||||
# Configure motion webcontrol access
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue