Merge pull request #2101 from alexbelgium/create-pull-request/patch-1757809864 nobuild

Github bot: fix linting issues nobuild
This commit is contained in:
Alexandre
2025-09-14 17:49:39 +02:00
committed by GitHub
5 changed files with 5 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ if [[ -d "$HOME/BirdNET-Pi/model/labels_nm2" ]]; then
fi
if bashio::config.true 'Use_tphakala_model_v2'; then
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
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"
@@ -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-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
bashio::log.fatal "model or labels not found, skipping"
bashio::log.fatal "model or labels not found, skipping"
fi
fi

View File

@@ -11,9 +11,9 @@ if ! git rev-parse --git-dir > /dev/null 2>&1; then
fi
# 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
echo "🔄 Repository is shallow; fetching full history to enable merging…"
git fetch --unshallow || git fetch --deepen=100000
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…"
git fetch --unshallow || git fetch --deepen=100000
fi
# Get list of open, non-draft PR numbers via GitHub API

0
emby_beta/rootfs/etc/services.d/nginx/run Normal file → Executable file
View File

0
guacamole/rootfs/etc/services.d/nginx/run Normal file → Executable file
View File

0
nextcloud/rootfs/etc/services.d/cron/run Normal file → Executable file
View File