Skip to content

Commit

Permalink
Resolve error if symlink or file already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 authored and tsnow03 committed May 22, 2023
1 parent aae52b7 commit 7fcc428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for desktop_file_path in ${REPO_DIR}/*.desktop; do

# Symlink application to desktop
desktop_file_name="$(basename ${desktop_file_path})"
ln -s "${APPLICATIONS_DIR}/${desktop_file_name}" "${DESKTOP_DIR}/${desktop_file_name}"
ln -sf "${APPLICATIONS_DIR}/${desktop_file_name}" "${DESKTOP_DIR}/${desktop_file_name}"
done
update-desktop-database "${APPLICATIONS_DIR}"

Expand Down

0 comments on commit 7fcc428

Please sign in to comment.