From 84f44a3afcafbda03cb940f194ef29208b7b9e4a Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Wed, 22 May 2024 15:02:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++++ shell/diy.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f79686..33e5fe3 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,11 @@ ## ❤[使用方法 Wiki](https://github.com/wukongdaily/diy-nas-onescript/wiki) +``` +curl -fsSL https://cafe.cpolar.cn/wkdaily/diy-nas-onescript/raw/branch/master/shell/diy.sh -o diy.sh && chmod +x diy.sh && ./diy.sh + +``` + ## ‼️[提BUG](https://github.com/wukongdaily/diy-nas-onescript/issues) ## 适配系统 ✅ Deepin v23beta2
diff --git a/shell/diy.sh b/shell/diy.sh index 4a89217..accb8f3 100644 --- a/shell/diy.sh +++ b/shell/diy.sh @@ -262,10 +262,10 @@ prepare_for_casaos() { Show 0 "打补丁和临时修改os-release" # 打补丁 # 安装深度deepin缺少的依赖包udevil - wget -O /tmp/udevil.deb https://cdn.jsdelivr.net/gh/wukongdaily/diy-nas-onescript@master/res/udevil.deb + wget -O /tmp/udevil.deb https://cafe.cpolar.cn/wkdaily/diy-nas-onescript/raw/branch/master/res/udevil.deb sudo dpkg -i /tmp/udevil.deb # 安装深度deepin缺少的依赖包mergerfs - wget -O /tmp/mergerfs.deb https://cdn.jsdelivr.net/gh/wukongdaily/diy-nas-onescript@master/res/mergerfs.deb + wget -O /tmp/mergerfs.deb https://cafe.cpolar.cn/wkdaily/diy-nas-onescript/raw/branch/master/res/mergerfs.deb sudo dpkg -i /tmp/mergerfs.deb #伪装debian 12 修改系统名称和代号,待CasaOS安装成功后,还原回来