From ccbd2c55d4f9d0bcb6ffb2db54674c930648c8b9 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Thu, 26 Mar 2026 15:06:42 +0800 Subject: [PATCH] =?UTF-8?q?chore(base):=20=E5=B0=86=20yay=20=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2=E4=B8=BA=20yay-bin=20=E5=8A=A0=E9=80=9F=E5=AE=89?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/base.py | 2 +- scripts/install.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/base.py b/modules/base.py index 99056fe..211cf37 100644 --- a/modules/base.py +++ b/modules/base.py @@ -47,5 +47,5 @@ class BaseModule(Module): def aur_packages(self) -> set[str]: return { "decman", - "yay", + "yay-bin", } diff --git a/scripts/install.sh b/scripts/install.sh index a94ae24..2523b11 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -23,12 +23,12 @@ sudo pacman -Syu --noconfirm echo "==> 安装 base-devel..." sudo pacman -S --needed --noconfirm base-devel -echo "==> 安装 yay..." +echo "==> 安装 yay-bin..." if ! command -v yay &> /dev/null; then - rm -rf /tmp/yay - git clone https://aur.archlinux.org/yay.git /tmp/yay - (cd /tmp/yay && makepkg -si --noconfirm) - rm -rf /tmp/yay + rm -rf /tmp/yay-bin + git clone https://aur.archlinux.org/yay-bin.git /tmp/yay-bin + (cd /tmp/yay-bin && makepkg -si --noconfirm) + rm -rf /tmp/yay-bin fi echo "==> 安装 decman..."