From 1aecd5e746cd23e0ec0332b4f0f9ea580899fd04 Mon Sep 17 00:00:00 2001 From: u Date: Mon, 28 Nov 2022 23:38:44 -0500 Subject: do not fail if "update-desktop-database" is unavailable --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 36c1cee..374c2a5 100755 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ alternatives: $(desktop_file): : write file $@ $(file >$@,$(desktop_file_contents)) ifdef ROOT_INSTALL - update-desktop-database + if command -v update-desktop-database; then update-desktop-database; fi endif $(symlink): $(destdir) -- cgit v1.2.3