diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-01-12 15:30:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-01-12 15:30:20 -0300 |
commit | 6d8b37b027ff67972a96d1ac6f3408fa71ff9bad (patch) | |
tree | 7a1ae75b0e9c4f673ef5df7d4cfb697a3e64a99b | |
parent | 9c4a744878a1d3a143e18a338a07e6cbdcb3dd01 (diff) | |
download | trashman-6d8b37b027ff67972a96d1ac6f3408fa71ff9bad.tar.gz trashman-6d8b37b027ff67972a96d1ac6f3408fa71ff9bad.tar.bz2 |
Fix: trashman: spotx: ensure git origin is the right one
-rwxr-xr-x | share/trashman/spotx/unix/linux/install | 3 |
1 files changed, 3 insertions, 0 deletions
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 |