Skip to content

Commit

Permalink
feat: git pull if already cloned
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Sep 14, 2023
1 parent cc77c77 commit 2fe5d4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sd-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ fi
# Enter the SD's folder
cd $code_path

# TODO: Optional
git pull

if [ "$network_connected" == false ]; then
sed -i '' "s/https:\/\/github.com/https:\/\/ghproxy.com\/github.com/g" modules/launch_utils.py
else
Expand Down

0 comments on commit 2fe5d4f

Please sign in to comment.