summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK.B.Dharun Krishna <kbdharunkrishna@gmail.com>2022-12-27 22:28:33 +0530
committerGitHub <noreply@github.com>2022-12-27 08:58:33 -0800
commite33a87a24815d1c3e7ef02d88a72ef739aff83fe (patch)
treed794f03d6814df1d71b519f159730ffff38b2a59
parent1cc18d7be90297b2977ef525fdfcd5f9fceeb70c (diff)
Use `main` branch instead of `master` (#49)
[About 1.5 years ago](https://github.com/tldr-pages/tldr/discussions/5868), we deprecated the master branch in favour of the main branch. We intend to remove it [soon, likely by May 1st 2023](https://github.com/tldr-pages/tldr/issues/9628).
-rwxr-xr-xtldr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tldr b/tldr
index 118c29c..535367f 100755
--- a/tldr
+++ b/tldr
@@ -147,11 +147,11 @@ check_requirements() {
# constants and read-only values
base_url() {
- echo https://raw.githubusercontent.com/tldr-pages/tldr/master/pages
+ echo https://raw.githubusercontent.com/tldr-pages/tldr/main/pages
}
upstream_pages() {
- echo https://raw.githubusercontent.com/tldr-pages/tldr-pages.github.io/master/assets/tldr.zip
+ echo https://raw.githubusercontent.com/tldr-pages/tldr-pages.github.io/main/assets/tldr.zip
}
# cache_dir returns the base path for caching tldr data files.