From c835016590584dd3d372b0bb85a7218f59d7f792 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Thu, 24 Feb 2022 13:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=90=20Transfer=20to=20gitlab.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- config.gen.yml | 4 ++-- install.sh | 2 +- pagermaid/assets/config.gen.yml | 4 ++-- pagermaid/modules/plugin.py | 2 +- utils/docker.md | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59deeef..ffbc317 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,7 +83,7 @@ RUN source ~/.bashrc \ && usermod -aG sudo,users $USER_NAME \ && echo "$USER_NAME ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/$USER_NAME \ ## 克隆仓库 - && git clone -b master https://github.com/Xtao-Labs/PagerMaid-Modify.git $WORK_DIR \ + && git clone -b master https://gitlab.com/Xtao-Labs/pagermaid-modify.git $WORK_DIR \ && git config --global pull.ff only \ ## 复制s6启动脚本 && cp -r s6/* / \ diff --git a/config.gen.yml b/config.gen.yml index 68c4d63..7eff287 100644 --- a/config.gen.yml +++ b/config.gen.yml @@ -62,8 +62,8 @@ mtp_port: "" mtp_secret: "" # Apt Git source -git_source: "https://raw.githubusercontent.com/Xtao-Labs/PagerMaid_Plugins/master/" -git_ssh: "https://github.com/Xtao-Labs/PagerMaid-Modify.git" +git_source: "https://gitlab.com/Xtao-Labs/PagerMaid_Plugins/-/raw/master/" +git_ssh: "https://gitlab.com/Xtao-Labs/pagermaid-modify.git" # Update Notice update_check: "True" diff --git a/install.sh b/install.sh index 0d7af5e..4cf276a 100644 --- a/install.sh +++ b/install.sh @@ -249,7 +249,7 @@ debian_require_install() { download_repo() { echo "下载 repository 中 . . ." rm -rf /var/lib/pagermaid >>/dev/null 2>&1 - git clone https://github.com/Xtao-Labs/PagerMaid-Modify.git /var/lib/pagermaid >>/dev/null 2>&1 + git clone https://gitlab.com/Xtao-Labs/pagermaid-modify.git /var/lib/pagermaid >>/dev/null 2>&1 cd /var/lib/pagermaid >>/dev/null 2>&1 echo "Hello World!" >/var/lib/pagermaid/public.lock } diff --git a/pagermaid/assets/config.gen.yml b/pagermaid/assets/config.gen.yml index 68c4d63..7eff287 100644 --- a/pagermaid/assets/config.gen.yml +++ b/pagermaid/assets/config.gen.yml @@ -62,8 +62,8 @@ mtp_port: "" mtp_secret: "" # Apt Git source -git_source: "https://raw.githubusercontent.com/Xtao-Labs/PagerMaid_Plugins/master/" -git_ssh: "https://github.com/Xtao-Labs/PagerMaid-Modify.git" +git_source: "https://gitlab.com/Xtao-Labs/PagerMaid_Plugins/-/raw/master/" +git_ssh: "https://gitlab.com/Xtao-Labs/pagermaid-modify.git" # Update Notice update_check: "True" diff --git a/pagermaid/modules/plugin.py b/pagermaid/modules/plugin.py index a41f18e..31253a9 100644 --- a/pagermaid/modules/plugin.py +++ b/pagermaid/modules/plugin.py @@ -15,7 +15,7 @@ from pagermaid.modules import plugin_list as active_plugins, __list_plugins try: git_source = config['git_source'] except: - git_source = "https://raw.githubusercontent.com/Xtao-Labs/PagerMaid_Plugins/master/" + git_source = "https://gitlab.com/Xtao-Labs/PagerMaid_Plugins/-/raw/master/" def remove_plugin(name): diff --git a/utils/docker.md b/utils/docker.md index d31aa36..0ea5cd2 100644 --- a/utils/docker.md +++ b/utils/docker.md @@ -11,7 +11,7 @@ ## 一键脚本安装 ``` -wget https://raw.githubusercontent.com/Xtao-Labs/PagerMaid-Modify/master/utils/docker.sh +wget https://gitlab.com/Xtao-Labs/pagermaid-modify/-/raw/master/utils/docker.sh bash docker.sh ```