Explorar o código

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

Aleksandr %!s(int64=3) %!d(string=hai) anos
pai
achega
59d48dfc7c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"