aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/download
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-07 14:45:22 +0000
committerFrancis Rowe <info@gluglug.org.uk>2016-03-07 14:45:22 +0000
commitd40b5c7b1a7b16b0c27828f615159c525306adb0 (patch)
tree5fe2e6261ef0e9be772cb468e83f25a220be9b2d /resources/scripts/helpers/download
parent62ddede396aa8eccc35528a720e7e0b5e132ab2e (diff)
downloadlibrebootfr-d40b5c7b1a7b16b0c27828f615159c525306adb0.tar.gz
librebootfr-d40b5c7b1a7b16b0c27828f615159c525306adb0.zip
download/coreboot: Add backup repository for coreboot
Download from the backup repository, if the main repository is unavailable. Coreboot.org is sometimes offline, so it's nice to have a backup.
Diffstat (limited to 'resources/scripts/helpers/download')
-rwxr-xr-xresources/scripts/helpers/download/coreboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot
index 600d6de9..93af2884 100755
--- a/resources/scripts/helpers/download/coreboot
+++ b/resources/scripts/helpers/download/coreboot
@@ -82,7 +82,7 @@ cd "coreboot/"
# ------------------------------------------------------------------------------
# download it using git
-git clone https://review.coreboot.org/coreboot
+git clone https://review.coreboot.org/coreboot || git clone https://github.com/coreboot/coreboot.git
# there are modifications required
cd "coreboot/"