summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoru <u@billy>2022-11-28 23:38:44 -0500
committeru <u@billy>2022-11-28 23:38:44 -0500
commit1aecd5e746cd23e0ec0332b4f0f9ea580899fd04 (patch)
treed13ca840c34724b449111920b1c084fbad06f926
parent72ffbda9c4f4d9a7a9f3b34c0a965611d7222a84 (diff)
do not fail if "update-desktop-database" is unavailable
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36c1cee..374c2a5 100755
--- a/Makefile
+++ b/Makefile
@@ -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))
80ifdef ROOT_INSTALL 80ifdef ROOT_INSTALL
81 update-desktop-database 81 if command -v update-desktop-database; then update-desktop-database; fi
82endif 82endif
83 83
84$(symlink): $(destdir) 84$(symlink): $(destdir)