Browse Source

Fix acquire script

Billy Barrow 10 months ago
parent
commit
180529cbea
1 changed files with 4 additions and 1 deletions
  1. 4 1
      scripts/acquire.sh

+ 4 - 1
scripts/acquire.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
 set -e
 set -e
 
 
-git clone https://git.sr.ht/~tilo15/usm .
+git init
+git remote add origin https://git.sr.ht/~tilo15/usm || echo "Origin already exists"
+git fetch
+git reset --hard origin/master