Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunrisepeak committed Jan 10, 2025
1 parent e36a59b commit 2681b7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/xim/pm/wrapper/aur.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

-- 构建并安装包
Expand All @@ -57,6 +57,7 @@ function info(name)

local info = aur_info(name)
return format([[
${bright}[ XVM-AUR Package Info ]${clear}
Name: ${dim}%s${clear}
Expand Down

0 comments on commit 2681b7e

Please sign in to comment.