From 2681b7ef68428f5f6f59fef44774c9f6d256c847 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 10 Jan 2025 18:42:10 +0800 Subject: [PATCH] update --- core/xim/pm/wrapper/aur.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/xim/pm/wrapper/aur.lua b/core/xim/pm/wrapper/aur.lua index c07e6c2..b8aa95a 100644 --- a/core/xim/pm/wrapper/aur.lua +++ b/core/xim/pm/wrapper/aur.lua @@ -30,7 +30,7 @@ function install(name) cprint("${bright}%s${clear} already exists, try to update...", name) os.cd(name) os.run("git pull") - os.exec("rm *.pkg.tar.zst") + os.tryrm("*.pkg.tar.zst") end -- 构建并安装包 @@ -57,6 +57,7 @@ function info(name) local info = aur_info(name) return format([[ + ${bright}[ XVM-AUR Package Info ]${clear} Name: ${dim}%s${clear}