diff options
author | Aleksandr <[email protected]> | 2022-03-18 10:20:54 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-18 10:20:54 +0100 |
commit | 59d48dfc7cb69ff7d37759209958917557226938 (patch) | |
tree | 6936932ebef997191002b7f72dc79109528d2d50 /utils/installer/install.sh | |
parent | e0a71dc40ceb8797ec40dcb9ae59c327e7f6c592 (diff) |
[Bugfix]: correct typo in backup function (#2358)
Diffstat (limited to 'utils/installer/install.sh')
-rwxr-xr-x | utils/installer/install.sh | 2 |
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" |