Explorar el Código

Fix acquire script

Billy Barrow hace 10 meses
padre
commit
180529cbea
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      scripts/acquire.sh

+ 4 - 1
scripts/acquire.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 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