From 2e3b113756ca96ca1790a2fd1a86f520ef62e728 Mon Sep 17 00:00:00 2001 From: David Duque Date: Wed, 17 Nov 2021 22:57:46 +0000 Subject: [PATCH] Move from 'master' to 'main' --- README.md | 2 +- management/status_checks.py | 2 +- tools/readable_bash.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2cd251e..913e3a8 100644 --- a/README.md +++ b/README.md @@ -73,5 +73,5 @@ sudo dpkg-reconfigure locales 3. Run the following command, and then follow the instructions that appear on the screen: ``` -curl https://raw.githubusercontent.com/ddavness/power-mailinabox/master/setup/bootstrap.sh | sudo bash +curl https://raw.githubusercontent.com/ddavness/power-mailinabox/main/setup/bootstrap.sh | sudo bash ``` diff --git a/management/status_checks.py b/management/status_checks.py index 107a808..0af0938 100755 --- a/management/status_checks.py +++ b/management/status_checks.py @@ -1054,7 +1054,7 @@ def get_latest_miab_version(): from socket import timeout try: - return re.search(b'TAG=(.*)', urlopen("https://raw.githubusercontent.com/ddavness/power-mailinabox/master/setup/bootstrap.sh", timeout=5).read()).group(1).decode("utf8") + return re.search(b'TAG=(.*)', urlopen("https://raw.githubusercontent.com/ddavness/power-mailinabox/main/setup/bootstrap.sh", timeout=5).read()).group(1).decode("utf8") except (HTTPError, URLError, timeout): return None diff --git a/tools/readable_bash.py b/tools/readable_bash.py index 1fcdd5c..b993e58 100644 --- a/tools/readable_bash.py +++ b/tools/readable_bash.py @@ -413,7 +413,7 @@ class BashScript(Grammar): result = parser.parse_string(string) v = "
view the bash source for the following section at %s
\n" \ - % ("https://github.com/mail-in-a-box/mailinabox/tree/master/" + fn, fn) + % ("https://github.com/ddavness/power-mailinabox/tree/main/" + fn, fn) mode = 0 for item in result.value():