Skip to content

Commit

Permalink
Merge pull request #42 from rebecca554owen/patch-2
Browse files Browse the repository at this point in the history
Update mtproxy.sh
  • Loading branch information
ellermister authored Jan 24, 2024
2 parents e4019a5 + 157f060 commit 12586df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mtproxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ do_install() {

if [[ "$mtg_provider" == "mtg" ]]; then
local arch=$(get_architecture)
local mtg_url=https://github.com/9seconds/mtg/releases/download/v1.0.11/mtg-1.0.11-linux-amd64.tar.gz
local mtg_url=https://github.com/9seconds/mtg/releases/download/v1.0.11/mtg-1.0.11-linux-$arch.tar.gz
wget $mtg_url -O mtg.tar.gz
tar -xzvf mtg.tar.gz mtg-1.0.11-linux-amd64/mtg --strip-components 1
tar -xzvf mtg.tar.gz mtg-1.0.11-linux-$arch/mtg --strip-components 1

[[ -f "./mtg" ]] && ./mtg && echo "Installed for mtg"
else
Expand Down

0 comments on commit 12586df

Please sign in to comment.