mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 19:34:12 +00:00
distros.nim: don't lose the information that we don't know the distro's package manager (yet)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user