From adb8a816c1df147baad284f2643d7b86922d958f Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 3 Jan 2017 17:03:10 +0100 Subject: [PATCH] distros.nim: don't lose the information that we don't know the distro's package manager (yet) --- lib/pure/distros.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pure/distros.nim b/lib/pure/distros.nim index cdda720894..ff30f61341 100644 --- a/lib/pure/distros.nim +++ b/lib/pure/distros.nim @@ -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 = (" install " & p, true) else: result = ("brew install " & p, true)