Skip to content

Commit 7cbbd6b

Browse files
JappeHallunkenMichaIng
authored andcommitted
change curl to get latest tag, regardless of nightly build or not
1 parent e22c9a1 commit 7cbbd6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dietpi/dietpi-software

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11926,7 +11926,7 @@ _EOF_
1192611926

1192711927
if To_Install 127 birdnet # BirdNET-Go: https://github.com/tphakala/birdnet-go/blob/main/install.sh
1192811928
then
11929-
local bnet_vers=$(curl -s https://api.github.com/repos/tphakala/birdnet-go/releases | grep -oP '"tag_name":\s*"\Knightly-[0-9]+' | sort -r | head -n1)
11929+
local bnet_vers=$(curl -s https://api.github.com/repos/tphakala/birdnet-go/releases | grep -oP '"tag_name":\s*"\K[^"]+' | head -n1)
1193011930
local bnet_inst='/opt/birdnet'
1193111931
local bnet_data='/mnt/dietpi_userdata/birdnet'
1193211932
local bnet_conf="$bnet_data/.config/birdnet-go/config.yaml"

0 commit comments

Comments
 (0)