Parcourir la source

add checkout for install.sh script

blezz-tech il y a 1 mois
Parent
commit
425e5560fd
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      bin/install.sh

+ 1 - 0
bin/install.sh

@@ -40,6 +40,7 @@ update_repository() {
         # If the directory exists, then do a git pull
         echo "Updating $repo_dir..."
         cd "$repo_dir" || exit
+        git checkout $repo_branch
         git pull
         cd - || exit
     else