Allow specifying another repo to install from in bootstrap.sh (#2334)
This commit is contained in:
parent
371f5bc1b2
commit
6d6ce25e03
|
@ -59,10 +59,14 @@ if [ ! -d $HOME/mailinabox ]; then
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$SOURCE" == "" ]; then
|
||||||
|
SOURCE=https://github.com/mail-in-a-box/mailinabox
|
||||||
|
fi
|
||||||
|
|
||||||
echo Downloading Mail-in-a-Box $TAG. . .
|
echo Downloading Mail-in-a-Box $TAG. . .
|
||||||
git clone \
|
git clone \
|
||||||
-b $TAG --depth 1 \
|
-b $TAG --depth 1 \
|
||||||
https://github.com/mail-in-a-box/mailinabox \
|
$SOURCE \
|
||||||
$HOME/mailinabox \
|
$HOME/mailinabox \
|
||||||
< /dev/null 2> /dev/null
|
< /dev/null 2> /dev/null
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue