Parcourir la source

[Bugfix]: correct typo in backup function (#2358)

Aleksandr il y a 3 ans
Parent
commit
59d48dfc7c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      utils/installer/install.sh

+ 1 - 1
utils/installer/install.sh

@@ -322,7 +322,7 @@ function verify_lvim_dirs() {
 
 function backup_old_config() {
   local src="$LUNARVIM_CONFIG_DIR"
-  if [ ! -d "$dir" ]; then
+  if [ ! -d "$src" ]; then
     return
   fi
   mkdir -p "$src.old"