From 7ce281818a273a180baa68e42e8e7474001dbc89 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:07:54 +0200 Subject: [PATCH] Update Dockerfile --- zzz_draft_birdnet-pi/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/zzz_draft_birdnet-pi/Dockerfile b/zzz_draft_birdnet-pi/Dockerfile index 27c3c14c4..46614dfca 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -48,6 +48,7 @@ RUN \ sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \ # Remove all instances of sudo from all other scripts sed -i '1a for file in $(grep -srl "sudo" $HOME/BirdNET-Pi/scripts); do \sed -i "s|sudo ||" "$file"; done' /newinstaller.sh && \ + sed -i '1a for file in $(grep -srl "my_dir" $HOME/BirdNET-Pi/scripts); do \sed -i "s|\$my_dir|/config|" "$file"; done' /newinstaller.sh && \ \ /./newinstaller.sh && \ \