Skip to content

Commit

Permalink
clone repo before installing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Oct 28, 2023
1 parent 86871a4 commit 9825040
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions scripts/installscripts/buster-install-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,11 @@ install_main() {

${apt_get} update
${apt_get} upgrade

# Get github code
${apt_get} install git
cd "${HOME_DIR}" || exit
git clone ${GIT_URL} --branch "${GIT_BRANCH}"

# some packages are only available on raspberry pi's but not on test docker containers running on x86_64 machines
if [[ $(uname -m) =~ ^armv.+$ ]]; then
Expand All @@ -842,11 +847,7 @@ install_main() {

# use python3 as default
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

# Get github code
cd "${HOME_DIR}" || exit
git clone ${GIT_URL} --branch "${GIT_BRANCH}"


# VERSION of installation

# Get version number
Expand Down

0 comments on commit 9825040

Please sign in to comment.