1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-20 20:09:07 +00:00

#438: Replace [[ with [ in install script

This commit is contained in:
nvbn 2016-01-23 23:48:51 +03:00
parent 60e19a054a
commit 52ef1fa47d

View File

@ -15,7 +15,7 @@ install_thefuck () {
sudo apt-get update -yy
sudo apt-get install -yy python-pip python-dev command-not-found python-gdbm
if [[ -n $(apt-cache search python-commandnotfound) ]]; then
if [ -n "$(apt-cache search python-commandnotfound)" ]; then
# In case of different python versions:
sudo apt-get install -yy python-commandnotfound
fi