-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Arch Linux & Manjaro support (#36)
* Use MESON var in Makefile * Add ArchLinux & Manjaro support * Skip confirm prompts in pacman * Install Docker on Arch * Remove old Fedora 32 workarounds * FIx arch distro family check * Remove nodejs asdf plugin release keyring import This is now handled by node-build and was removed from the plugin * Install correct nss package on Arch for mkcert
- Loading branch information
Showing
7 changed files
with
71 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module MStrap | ||
module Linux | ||
module Archlinux | ||
extend DSL | ||
|
||
def self.install_packages!(packages : Array(String)) | ||
cmd("pacman", ["-Sy", "--noconfirm", "--needed"] + packages, sudo: true) | ||
end | ||
|
||
def self.package_installed?(package_name : String) | ||
cmd("pacman", ["-Qi", package_name], quiet: true) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters