uodate formatting, add verbosity

This commit is contained in:
Ray Elliott 2020-09-04 22:08:53 +01:00
parent f7ec743fd1
commit 1f4bbc6a10
3 changed files with 10 additions and 5 deletions

View File

@ -5,3 +5,7 @@ Development environment base packages:
* lf * lf
* lazygit * lazygit
## TODO
* add verbose options to commands
* install-wordpress.sh - move virtual host to files/

View File

@ -53,9 +53,10 @@ elif [ -n "$litespeed_version" ] ; then
fi fi
if [ -n "$wp_user" ] ; then if [ -n "$wp_user" ] ; then
. "$_script_dir/install-wordpress.sh" . "$_script_dir/install-wordpress.sh"
fi fi
if [ -n "$dev_env" ] ; then if [ -n "$dev_env" ] ; then
. "$_script_dir/install-dev-base.sh" . "$_script_dir/install-dev-base.sh"
fi fi

View File

@ -11,12 +11,12 @@ apt-get -y install curl gnupg2 ninja-build gettext libtool libtool-bin autoconf
echo "Installing lazygit .." 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 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/ tar xf /tmp/lazygit.tar.gz -C /usr/local/bin/
rm /tmp/lazygit.tar.gz rm -v /tmp/lazygit.tar.gz
echo "Installing lf ..." echo "Installing lf ..."
curl -fsSL https://github.com/gokcehan/lf/releases/download/r16/lf-linux-amd64.tar.gz --output /tmp/lf.tar.gz 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/ tar xf /tmp/lf.tar.gz -C /usr/local/bin/
rm /tmp/lf.tar.gz rm -v /tmp/lf.tar.gz
echo "Installing neovim ..." echo "Installing neovim ..."
git clone https://github.com/neovim/neovim /tmp/neovim git clone https://github.com/neovim/neovim /tmp/neovim
@ -64,7 +64,7 @@ nvim --headless +PlugInstall +qall
echo "Configuring lf .." echo "Configuring lf .."
lf config lf config
if [ -e "$_home_dir/.config/lf" ] ; then 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 fi
git clone ssh://git@git.rayelliott.dev:3222/dots/lf.git "$_home_dir/.config/lf" git clone ssh://git@git.rayelliott.dev:3222/dots/lf.git "$_home_dir/.config/lf"