Kaynağa Gözat

Fix acquire script

Billy Barrow 10 ay önce
ebeveyn
işleme
180529cbea
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  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