distros.nim: don't lose the information that we don't know the distro's package manager (yet)

This commit is contained in:
Araq
2017-01-03 17:03:10 +01:00
parent 70708219c9
commit adb8a816c1

View File

@@ -222,6 +222,8 @@ proc foreignDepInstallCmd*(foreignPackageName: string): (string, bool) =
result = ("rpm -ivh " & p, true)
elif detectOs(ArchLinux):
result = ("pacman -S " & p, true)
else:
result = ("<your package manager here> install " & p, true)
else:
result = ("brew install " & p, true)