diff options
author | u <u@billy> | 2022-11-28 23:38:44 -0500 |
---|---|---|
committer | u <u@billy> | 2022-11-28 23:38:44 -0500 |
commit | 1aecd5e746cd23e0ec0332b4f0f9ea580899fd04 (patch) | |
tree | d13ca840c34724b449111920b1c084fbad06f926 | |
parent | 72ffbda9c4f4d9a7a9f3b34c0a965611d7222a84 (diff) |
do not fail if "update-desktop-database" is unavailable
-rwxr-xr-x | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ alternatives: | |||
78 | $(desktop_file): | 78 | $(desktop_file): |
79 | : write file $@ $(file >$@,$(desktop_file_contents)) | 79 | : write file $@ $(file >$@,$(desktop_file_contents)) |
80 | ifdef ROOT_INSTALL | 80 | ifdef ROOT_INSTALL |
81 | update-desktop-database | 81 | if command -v update-desktop-database; then update-desktop-database; fi |
82 | endif | 82 | endif |
83 | 83 | ||
84 | $(symlink): $(destdir) | 84 | $(symlink): $(destdir) |