mirror of
https://github.com/hassio-addons/addon-motioneye.git
synced 2025-05-04 19:21:22 +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
|
# Migration
|
||||||
if bashio::fs.file_exists "${CONF}"; then
|
if bashio::fs.file_exists "${CONF}"; then
|
||||||
bashio::log.debug "Running startup migrations"
|
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/ \
|
find /data/motioneye/ \
|
||||||
-maxdepth 1 \
|
-maxdepth 1 \
|
||||||
-type f \
|
-type f \
|
||||||
-name "thread-*.conf" \
|
-name "thread-*.conf" \
|
||||||
-exec \
|
-exec \
|
||||||
/usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh {} \;
|
/usr/lib/python3.12/site-packages/motioneye/scripts/migrateconf.sh {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Configure motion webcontrol access
|
# Configure motion webcontrol access
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue