distros.nim: don't lose the information that we don't know the distro's package manager (yet)
This commit is contained in:
parent
70708219c9
commit
adb8a816c1
1 changed files with 2 additions and 0 deletions
|
|
@ -222,6 +222,8 @@ proc foreignDepInstallCmd*(foreignPackageName: string): (string, bool) =
|
||||||
result = ("rpm -ivh " & p, true)
|
result = ("rpm -ivh " & p, true)
|
||||||
elif detectOs(ArchLinux):
|
elif detectOs(ArchLinux):
|
||||||
result = ("pacman -S " & p, true)
|
result = ("pacman -S " & p, true)
|
||||||
|
else:
|
||||||
|
result = ("<your package manager here> install " & p, true)
|
||||||
else:
|
else:
|
||||||
result = ("brew install " & p, true)
|
result = ("brew install " & p, true)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue