Move from 'master' to 'main'

This commit is contained in:
David Duque 2021-11-17 22:57:46 +00:00
parent faacc1d674
commit 2e3b113756
No known key found for this signature in database
GPG key ID: 2F327738A3C0AE3A
3 changed files with 3 additions and 3 deletions

View file

@ -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
```

View file

@ -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

View file

@ -413,7 +413,7 @@ class BashScript(Grammar):
result = parser.parse_string(string)
v = "<div class='row'><div class='col-xs-12 sourcefile'>view the bash source for the following section at <a href=\"%s\">%s</a></div></div>\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():