fixed if-statement syntax
This commit is contained in:
parent
eeec2a095b
commit
7f5b58f5c6
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ usage(){
|
|||
}
|
||||
|
||||
detectvim(){
|
||||
if [ -d /usr/share/vim] ; then
|
||||
if [ -d /usr/share/vim ] ; then
|
||||
viminstall=$(ls -lah /usr/share/vim/ | grep vim | grep -v rc | awk '{print $NF}')
|
||||
else
|
||||
viminstall=null
|
||||
|
|
|
|||
Loading…
Reference in a new issue