Skip to content

Commit

Permalink
xvm: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunrisepeak committed Jan 10, 2025
1 parent eef7cfb commit 0915b8f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/x/xvm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ package = {
github_release_tag = "xvm-dev",
}
},
debain = {
linux = {
["latest"] = { ref = "dev" },
["dev"] = {
url = "%.tar.gz$", -- url pattern
github_release_tag = "xvm-dev",
}
},
ubuntu = { ref = "debain" },
archlinux = { ref = "debain" },
debian = { ref = "linux" },
ubuntu = { ref = "linux" },
archlinux = { ref = "linux" },
manjaro = { ref = "linux" },
},
}

Expand All @@ -52,11 +54,10 @@ end

function install()
os.cp(xvm_file[os.host()], bindir)
os.tryrm(pkginfo.install_file)
return true
end

function uninstall()
os.tryrm(path.join(bindir, xvm_file[os.host()]))
return true
end
end

0 comments on commit 0915b8f

Please sign in to comment.