From d524b4255a02004c1d61b8eb452ba61c9ab2ebe2 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Wed, 20 Jul 2022 00:10:20 +0300 Subject: [PATCH] install: dumb support for local proxies --- .config/dotfiles/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/dotfiles/install.sh b/.config/dotfiles/install.sh index 4ef5f13..ed88a25 100755 --- a/.config/dotfiles/install.sh +++ b/.config/dotfiles/install.sh @@ -6,12 +6,12 @@ gh_repo='rockdrilla/dotfiles' gh_br='main' f_gitignore='.config/dotfiles/gitignore' -u_gitignore="https://raw.githubusercontent.com/${gh_repo}/${gh_br}/${f_gitignore}" +u_gitignore="${GITHUB_RAW:-https://raw.githubusercontent.com}/${gh_repo}/${gh_br}/${f_gitignore}" u_repo="https://github.com/${gh_repo}.git" d_repo='.config/dotfiles/repo.git' -u_tarball="https://github.com/${gh_repo}/archive/refs/heads/${gh_br}.tar.gz" +u_tarball="${GITHUB:-https://github.com}/${gh_repo}/archive/refs/heads/${gh_br}.tar.gz" main() { ## dry run to test connectivity