diff options
author | Araq <rumpf_a@web.de> | 2017-01-03 17:03:10 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-01-03 17:06:31 +0100 |
commit | adb8a816c1df147baad284f2643d7b86922d958f (patch) | |
tree | 458712b31fc695e4cb7827c51bb7432869fbe702 /lib | |
parent | 70708219c9111e869f41a51fc007d30dd815b112 (diff) | |
download | Nim-adb8a816c1df147baad284f2643d7b86922d958f.tar.gz |
distros.nim: don't lose the information that we don't know the distro's package manager (yet)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/distros.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pure/distros.nim b/lib/pure/distros.nim index cdda72089..ff30f6134 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 = ("<your package manager here> install " & p, true) else: result = ("brew install " & p, true) |