diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/installer/install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh index e1e748c3..d1e17878 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -364,10 +364,10 @@ function __backup_dir() { else case "$OS" in Darwin) - cp -R "$src/"* "$src.old/." + cp -R "$src/." "$src.old/." ;; *) - cp -r "$src/"* "$src.old/." + cp -r "$src/." "$src.old/." ;; esac fi @@ -457,7 +457,7 @@ function create_desktop_file() { cp "$LUNARVIM_BASE_DIR/utils/desktop/$size_folder/lvim.svg" "$XDG_DATA_HOME/icons/hicolor/$size_folder/apps" done - xdg-desktop-menu install --novendor "$LUNARVIM_BASE_DIR/utils/desktop/lvim.desktop" + xdg-desktop-menu install --novendor "$LUNARVIM_BASE_DIR/utils/desktop/lvim.desktop" || true } function print_logo() { |