Allow specifying another repo to install from in bootstrap.sh (#2334)

This commit is contained in:
bilogic 2023-12-04 22:22:54 +08:00 committed by GitHub
parent 371f5bc1b2
commit 6d6ce25e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -59,10 +59,14 @@ if [ ! -d $HOME/mailinabox ]; then
echo
fi
if [ "$SOURCE" == "" ]; then
SOURCE=https://github.com/mail-in-a-box/mailinabox
fi
echo Downloading Mail-in-a-Box $TAG. . .
git clone \
-b $TAG --depth 1 \
https://github.com/mail-in-a-box/mailinabox \
$SOURCE \
$HOME/mailinabox \
< /dev/null 2> /dev/null