Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ellermister/mtproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ellermister committed Jan 24, 2024
2 parents aa23570 + 12586df commit 55c044f
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 55c044f

Please sign in to comment.