From 52ef1fa47dafc91b241f56f1e9dd5f050c40611c Mon Sep 17 00:00:00 2001 From: nvbn Date: Sat, 23 Jan 2016 23:48:51 +0300 Subject: [PATCH] #438: Replace `[[` with `[` in install script --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3ed9b749..25600a67 100755 --- a/install.sh +++ b/install.sh @@ -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