Преглед на файлове

add checkout for install.sh script

blezz-tech преди 1 месец
родител
ревизия
425e5560fd
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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