summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr <[email protected]>2022-03-18 10:20:54 +0100
committerGitHub <[email protected]>2022-03-18 10:20:54 +0100
commit59d48dfc7cb69ff7d37759209958917557226938 (patch)
tree6936932ebef997191002b7f72dc79109528d2d50
parente0a71dc40ceb8797ec40dcb9ae59c327e7f6c592 (diff)
[Bugfix]: correct typo in backup function (#2358)
-rwxr-xr-xutils/installer/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh
index 6aca4ca9..de936d6d 100755
--- a/utils/installer/install.sh
+++ b/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"