mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
Add or detectOs(Manjaro) (#12587) [backport]
Using `pacman` command in Manjaro Linux
This commit is contained in:
@@ -227,7 +227,7 @@ proc foreignDepInstallCmd*(foreignPackageName: string): (string, bool) =
|
||||
result = ("pkg install " & p, true)
|
||||
elif detectOs(PCLinuxOS):
|
||||
result = ("rpm -ivh " & p, true)
|
||||
elif detectOs(ArchLinux):
|
||||
elif detectOs(ArchLinux) or detectOs(Manjaro):
|
||||
result = ("pacman -S " & p, true)
|
||||
else:
|
||||
result = ("<your package manager here> install " & p, true)
|
||||
|
||||
Reference in New Issue
Block a user