From 1f4bbc6a10a7ea5e58d40238ce2dd66b38c1d1b1 Mon Sep 17 00:00:00 2001 From: ray Date: Fri, 4 Sep 2020 22:08:53 +0100 Subject: [PATCH] uodate formatting, add verbosity --- README.md | 4 ++++ install-local.sh | 5 +++-- scripts/debian10/install-dev-base.sh | 6 +++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aaf3f62..b2828b3 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,7 @@ Development environment base packages: * lf * lazygit +## TODO + +* add verbose options to commands + * install-wordpress.sh - move virtual host to files/ diff --git a/install-local.sh b/install-local.sh index b6a79c8..abfe485 100755 --- a/install-local.sh +++ b/install-local.sh @@ -53,9 +53,10 @@ elif [ -n "$litespeed_version" ] ; then fi if [ -n "$wp_user" ] ; then -. "$_script_dir/install-wordpress.sh" + . "$_script_dir/install-wordpress.sh" fi if [ -n "$dev_env" ] ; then -. "$_script_dir/install-dev-base.sh" + . "$_script_dir/install-dev-base.sh" fi + diff --git a/scripts/debian10/install-dev-base.sh b/scripts/debian10/install-dev-base.sh index 84ac254..d5aaf17 100755 --- a/scripts/debian10/install-dev-base.sh +++ b/scripts/debian10/install-dev-base.sh @@ -11,12 +11,12 @@ apt-get -y install curl gnupg2 ninja-build gettext libtool libtool-bin autoconf echo "Installing lazygit .." curl -fsSL https://github.com/jesseduffield/lazygit/releases/download/v0.22.1/lazygit_0.22.1_Linux_x86_64.tar.gz --output /tmp/lazygit.tar.gz tar xf /tmp/lazygit.tar.gz -C /usr/local/bin/ -rm /tmp/lazygit.tar.gz +rm -v /tmp/lazygit.tar.gz echo "Installing lf ..." curl -fsSL https://github.com/gokcehan/lf/releases/download/r16/lf-linux-amd64.tar.gz --output /tmp/lf.tar.gz tar xf /tmp/lf.tar.gz -C /usr/local/bin/ -rm /tmp/lf.tar.gz +rm -v /tmp/lf.tar.gz echo "Installing neovim ..." git clone https://github.com/neovim/neovim /tmp/neovim @@ -64,7 +64,7 @@ nvim --headless +PlugInstall +qall echo "Configuring lf .." lf config if [ -e "$_home_dir/.config/lf" ] ; then - mv "$_home_dir/.config/lf" "$_home_dir/.config/lf-original-$(date +%s)" + mv -v "$_home_dir/.config/lf" "$_home_dir/.config/lf-original-$(date +%s)" fi git clone ssh://git@git.rayelliott.dev:3222/dots/lf.git "$_home_dir/.config/lf"