mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Merge pull request #2101 from alexbelgium/create-pull-request/patch-1757809864 nobuild
Github bot: fix linting issues nobuild
This commit is contained in:
@@ -51,7 +51,7 @@ if [[ -d "$HOME/BirdNET-Pi/model/labels_nm2" ]]; then
|
|||||||
fi
|
fi
|
||||||
if bashio::config.true 'Use_tphakala_model_v2'; then
|
if bashio::config.true 'Use_tphakala_model_v2'; then
|
||||||
echo "... applying tphakala model v2"
|
echo "... applying tphakala model v2"
|
||||||
if [[ -f "$HOME/BirdNET-Pi/model/BirdNET-Go_classifier.tflite" ]] && [[ -d "$HOME/BirdNET-Pi/model/labels_go" ]]; then
|
if [[ -f "$HOME/BirdNET-Pi/model/BirdNET-Go_classifier.tflite" ]] && [[ -d "$HOME/BirdNET-Pi/model/labels_go" ]]; then
|
||||||
# Move labels
|
# Move labels
|
||||||
mv "$HOME/BirdNET-Pi/model/labels_nm" "$HOME/BirdNET-Pi/model/labels_nm2" || bashio::log.warning "Failed to move labels_nm"
|
mv "$HOME/BirdNET-Pi/model/labels_nm" "$HOME/BirdNET-Pi/model/labels_nm2" || bashio::log.warning "Failed to move labels_nm"
|
||||||
mv "$HOME/BirdNET-Pi/model/labels_go" "$HOME/BirdNET-Pi/model/labels_nm" || bashio::log.warning "Failed to move labels_go"
|
mv "$HOME/BirdNET-Pi/model/labels_go" "$HOME/BirdNET-Pi/model/labels_nm" || bashio::log.warning "Failed to move labels_go"
|
||||||
@@ -59,7 +59,7 @@ if bashio::config.true 'Use_tphakala_model_v2'; then
|
|||||||
mv "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite" "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite2" || bashio::log.warning "Failed to move base model"
|
mv "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite" "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite2" || bashio::log.warning "Failed to move base model"
|
||||||
mv "$HOME/BirdNET-Pi/model/BirdNET-Go_classifier.tflite" "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite" || bashio::log.warning "Failed to move Go classifier"
|
mv "$HOME/BirdNET-Pi/model/BirdNET-Go_classifier.tflite" "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite" || bashio::log.warning "Failed to move Go classifier"
|
||||||
else
|
else
|
||||||
bashio::log.fatal "model or labels not found, skipping"
|
bashio::log.fatal "model or labels not found, skipping"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ if ! git rev-parse --git-dir > /dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# If this is a shallow clone, fetch enough history to compute merge bases
|
# If this is a shallow clone, fetch enough history to compute merge bases
|
||||||
if git rev-parse --is-shallow-repository >/dev/null 2>&1 && git rev-parse --is-shallow-repository | grep -q true; then
|
if git rev-parse --is-shallow-repository > /dev/null 2>&1 && git rev-parse --is-shallow-repository | grep -q true; then
|
||||||
echo "🔄 Repository is shallow; fetching full history to enable merging…"
|
echo "🔄 Repository is shallow; fetching full history to enable merging…"
|
||||||
git fetch --unshallow || git fetch --deepen=100000
|
git fetch --unshallow || git fetch --deepen=100000
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get list of open, non-draft PR numbers via GitHub API
|
# Get list of open, non-draft PR numbers via GitHub API
|
||||||
|
|||||||
0
emby_beta/rootfs/etc/services.d/nginx/run
Normal file → Executable file
0
emby_beta/rootfs/etc/services.d/nginx/run
Normal file → Executable file
0
guacamole/rootfs/etc/services.d/nginx/run
Normal file → Executable file
0
guacamole/rootfs/etc/services.d/nginx/run
Normal file → Executable file
0
nextcloud/rootfs/etc/services.d/cron/run
Normal file → Executable file
0
nextcloud/rootfs/etc/services.d/cron/run
Normal file → Executable file
Reference in New Issue
Block a user