🔐 Transfer to gitlab.
This commit is contained in:
parent
5b89bce878
commit
c835016590
@ -83,7 +83,7 @@ RUN source ~/.bashrc \
|
|||||||
&& usermod -aG sudo,users $USER_NAME \
|
&& usermod -aG sudo,users $USER_NAME \
|
||||||
&& echo "$USER_NAME ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/$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 \
|
&& git config --global pull.ff only \
|
||||||
## 复制s6启动脚本
|
## 复制s6启动脚本
|
||||||
&& cp -r s6/* / \
|
&& cp -r s6/* / \
|
||||||
|
@ -62,8 +62,8 @@ mtp_port: ""
|
|||||||
mtp_secret: ""
|
mtp_secret: ""
|
||||||
|
|
||||||
# Apt Git source
|
# Apt Git source
|
||||||
git_source: "https://raw.githubusercontent.com/Xtao-Labs/PagerMaid_Plugins/master/"
|
git_source: "https://gitlab.com/Xtao-Labs/PagerMaid_Plugins/-/raw/master/"
|
||||||
git_ssh: "https://github.com/Xtao-Labs/PagerMaid-Modify.git"
|
git_ssh: "https://gitlab.com/Xtao-Labs/pagermaid-modify.git"
|
||||||
|
|
||||||
# Update Notice
|
# Update Notice
|
||||||
update_check: "True"
|
update_check: "True"
|
||||||
|
@ -249,7 +249,7 @@ debian_require_install() {
|
|||||||
download_repo() {
|
download_repo() {
|
||||||
echo "下载 repository 中 . . ."
|
echo "下载 repository 中 . . ."
|
||||||
rm -rf /var/lib/pagermaid >>/dev/null 2>&1
|
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
|
cd /var/lib/pagermaid >>/dev/null 2>&1
|
||||||
echo "Hello World!" >/var/lib/pagermaid/public.lock
|
echo "Hello World!" >/var/lib/pagermaid/public.lock
|
||||||
}
|
}
|
||||||
|
@ -62,8 +62,8 @@ mtp_port: ""
|
|||||||
mtp_secret: ""
|
mtp_secret: ""
|
||||||
|
|
||||||
# Apt Git source
|
# Apt Git source
|
||||||
git_source: "https://raw.githubusercontent.com/Xtao-Labs/PagerMaid_Plugins/master/"
|
git_source: "https://gitlab.com/Xtao-Labs/PagerMaid_Plugins/-/raw/master/"
|
||||||
git_ssh: "https://github.com/Xtao-Labs/PagerMaid-Modify.git"
|
git_ssh: "https://gitlab.com/Xtao-Labs/pagermaid-modify.git"
|
||||||
|
|
||||||
# Update Notice
|
# Update Notice
|
||||||
update_check: "True"
|
update_check: "True"
|
||||||
|
@ -15,7 +15,7 @@ from pagermaid.modules import plugin_list as active_plugins, __list_plugins
|
|||||||
try:
|
try:
|
||||||
git_source = config['git_source']
|
git_source = config['git_source']
|
||||||
except:
|
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):
|
def remove_plugin(name):
|
||||||
|
@ -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
|
bash docker.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user