From 2e539b950b27bf058dca3ff7b869daafdb1135cf Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 16 Nov 2020 09:37:51 +0800 Subject: [PATCH] [feature] script to install mongodb-cli tools --- apps/mongocli.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 apps/mongocli.sh diff --git a/apps/mongocli.sh b/apps/mongocli.sh new file mode 100755 index 0000000..995e8da --- /dev/null +++ b/apps/mongocli.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +DIR=$(dirname "$(readlink -f "$0")") +. "$DIR/../env.sh" + + +# install mongodb-cli tools only +case "$PM" in + apt) + sudo apt install mongodb-clients + ;; + pacman) + # TODO + ;; +esac