Update remote url to gitea

This commit is contained in:
2024-03-23 12:57:12 +08:00
parent b141fdc91e
commit 0ba21d0238
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ Git repo of my personal shell profile variables
### Quick Install ### Quick Install
``` ```
curl https://gitlab.com/madumlao/madumlao-profile/-/raw/master/install.sh | bash curl https://gitea.madumlao.com/madumlao/madumlao-profile/src/branch/master/install.sh | bash
``` ```
### Manual Install ### Manual Install

View File

@@ -14,9 +14,9 @@ if [ "$DOWNLOAD_APP" ]; then
mkdir -pv "$PARENT_DIR" mkdir -pv "$PARENT_DIR"
if [ -x git ]; then if [ -x git ]; then
cd "$PARENT_DIR" cd "$PARENT_DIR"
git clone https://gitlab.com/madumlao/madumlao-profile git clone https://gitea.madumlao.com/madumlao/madumlao-profile
else else
curl -O https://gitlab.com/madumlao/madumlao-profile/-/archive/master/madumlao-profile-master.tar.gz curl -o madumlao-profile-master.tar.gz https://gitea.madumlao.com/madumlao/madumlao-profile/archive/master.tar.gz
tar -zxf madumlao-profile-master.tar.gz -C "$PARENT_DIR" tar -zxf madumlao-profile-master.tar.gz -C "$PARENT_DIR"
fi fi
fi fi