feat: add script to install mycli/pgcli

This commit is contained in:
Klesh Wong 2021-10-23 11:22:19 +08:00
parent 27a2b760fd
commit 199cee2945

View File

@ -4,5 +4,19 @@ DIR=$(dirname "$(readlink -f "$0")")
. "$DIR/../env.sh"
"$PDIR/devel/python.sh"
# install mycli and pgcli
case "$PM" in
pkg)
echo todo
exit -1
;;
apt)
sudo apt install -y libpq-dev
;;
pacman)
sudo pacman -S --noconfirm --needed postgresql-libs
;;
esac
sudo pip install mycli
sudo pip install pgcli