Add or detectOs(Manjaro) (#12587) [backport]
Using `pacman` command in Manjaro Linux (cherry picked from commit 1ff3494dabd0fa5bf619fc8bd558381ead7c358d)
This commit is contained in:
parent
3ba3307d61
commit
0694bd47b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue