Parcourir la source

fix(installer): fix ARGS_LOCAL condition (#1649)

Jakpat Mingmongkolmitr il y a 3 ans
Parent
commit
52dd273ca9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      utils/installer/install.sh

+ 1 - 1
utils/installer/install.sh

@@ -135,7 +135,7 @@ EOF
     echo "Updating LunarVim"
     update_lvim
   else
-    if [ -n "$ARGS_LOCAL" ]; then
+    if [ "$ARGS_LOCAL" -eq 1 ]; then
       link_local_lvim
     else
       clone_lvim