Add or detectOs(Manjaro) (#12587) [backport]

Using `pacman` command in Manjaro Linux
This commit is contained in:
jiro
2019-11-04 20:20:23 +09:00
committed by Andreas Rumpf
parent 1d43c8620e
commit 1ff3494dab

View File

@@ -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)