1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

allow specifying another repo

This commit is contained in:
bilogic 2023-11-25 07:54:17 +08:00
parent 0314554207
commit 8d4a811805

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