]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: trashman: spotx: ensure git origin is the right one
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 12 Jan 2024 18:30:20 +0000 (15:30 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 12 Jan 2024 18:30:20 +0000 (15:30 -0300)
share/trashman/spotx/unix/linux/install

index 80b471dfd1b2f3b0dd1290f71116902bb56d6873..879c317cdb838d459fcd5da900fc52be6240dfba 100755 (executable)
@@ -20,6 +20,9 @@ fi
 #git -C /usr/local/src/spotx pull
 
 # Checkout an specific version
+git remote rm origin
+git remote add origin $REPO
+git fetch origin
 git -C /usr/local/src/spotx checkout $COMMIT || exit 1
 
 # Install