From a47304a9616b9ab103792b555c610c847006128e Mon Sep 17 00:00:00 2001 From: Samuel ORTION Date: Tue, 23 Aug 2022 13:27:05 +0200 Subject: [PATCH 1/2] install: Fix g{,un}zip to normal packages names --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index db13113..7b4882d 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ set -e DEBUG=${DEBUG:-0} -REQUIREMENTS="git wget ffmpeg python3 python3-pip python3-dev python3-venv g{,un}zip sqlite3" +REQUIREMENTS="git wget ffmpeg python3 python3-pip python3-dev python3-venv zip unzip sqlite3" REPOSITORY=${REPOSITORY:-https://github.com/UncleSamulus/BirdNET-stream.git} BRANCH=${BRANCH:-main} WORKDIR="$(pwd)/BirdNET-stream" From daffa3ff9608642fc055569236d9a4cf5c99e655 Mon Sep 17 00:00:00 2001 From: Samuel ORTION Date: Tue, 23 Aug 2022 13:36:57 +0200 Subject: [PATCH 2/2] install: Fix typo on -b git clone --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7b4882d..fa3d912 100755 --- a/install.sh +++ b/install.sh @@ -48,7 +48,7 @@ install_birdnetstream() { # Clone BirdNET-stream cd "$WORKDIR" debug "Cloning BirdNET-stream from $REPOSITORY" - git clone -b "$BRANCH"--recurse-submodules "$REPOSITORY" . + git clone -b "$BRANCH" --recurse-submodules "$REPOSITORY" . debug "Creating python3 virtual environment $PYTHON_VENV" python3 -m venv $PYTHON_VENV debug "Activating $PYTHON_VENV"