From: Silvio Rhatto Date: Fri, 12 Jan 2024 18:30:20 +0000 (-0300) Subject: Fix: trashman: spotx: ensure git origin is the right one X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6d8b37b027ff67972a96d1ac6f3408fa71ff9bad;p=trashman.git Fix: trashman: spotx: ensure git origin is the right one --- diff --git a/share/trashman/spotx/unix/linux/install b/share/trashman/spotx/unix/linux/install index 80b471d..879c317 100755 --- a/share/trashman/spotx/unix/linux/install +++ b/share/trashman/spotx/unix/linux/install @@ -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