mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Improvement : use 755
This commit is contained in:
@@ -114,10 +114,10 @@ done
|
||||
# Set permissions for newly created files and folders
|
||||
echo "... checking and setting permissions"
|
||||
chmod -R 755 /config/*
|
||||
chmod 777 /config
|
||||
chmod 755 /config
|
||||
|
||||
# Create folder for matplotlib
|
||||
echo "... setting up Matplotlabdir"
|
||||
mkdir -p "$HOME"/.cache/matplotlib
|
||||
chown -R "pi:pi" "$HOME"/.cache/matplotlib
|
||||
chmod 777 "$HOME"/.cache/matplotlib
|
||||
chmod 755 "$HOME"/.cache/matplotlib
|
||||
|
||||
@@ -27,7 +27,7 @@ if [[ "$(uname -m)" = "x86_64" ]]; then
|
||||
bashio::log.warning "You could try also Birdnet-Go which should supports your cpu"
|
||||
source /home/pi/BirdNET-Pi/birdnet/bin/activate
|
||||
mkdir -p /home/pi/.cache/pip || true &> /dev/null
|
||||
chmod 777 /home/pi/.cache/pip || true &> /dev/null
|
||||
chmod 755 /home/pi/.cache/pip || true &> /dev/null
|
||||
pip3 uninstall -y tflite_runtime
|
||||
pip install --upgrade packaging==23.2
|
||||
pip3 install --upgrade --force-reinstall "https://github.com/snowzach/tensorflow-multiarch/releases/download/v2.16.1/tensorflow-2.16.1-cp311-cp311-linux_x86_64.whl"
|
||||
|
||||
Reference in New Issue
Block a user