Browse Source

Update install to properly install flake8

master
Scott Barker 2 years ago
parent
commit
b1fa5a92a0
1 changed files with 6 additions and 5 deletions
  1. 6
    5
      install.sh

+ 6
- 5
install.sh View File

@@ -63,9 +63,10 @@ function install
ln -s "${DIR}/htop/htoprc" ~/.config/htop/htoprc
;;
"flake8" )
rm ~/.config/flake8/flake8
mkdir -p ~/.config/flake8/
ln -s "${DIR}/flake8/flake8" ~/.config/flake8/flake8
rm -rf ~/.config/flake8/flake8
rm -rf ~/.config/flake8
mkdir -p ~/.config/
ln -s "${DIR}/flake8/flake8" ~/.config/flake8
;;
".ackrc" )
rm ~/.ackrc
@@ -78,11 +79,11 @@ function install
}

for config in "${funcs[@]}"; do
if [ $1 == '--all' ]; then
if [[ $1 = '--all' ]]; then
install $config
else
read -p "Install $config (y/n)? "
if [ "$REPLY" == "y" ]; then
if [[ "$REPLY" = "y" ]]; then
install $config
fi
fi

Loading…
Cancel
Save