forked from Mirrors/openclonk
Don't update MIME cache on install (#1618)
The install target is used both for manual installation and for packaging. Updating the packager's MIME cache isn't very useful. Show a message instead which reminds both packagers and regular users to run the command.install-platforms
parent
07a945ee8e
commit
e59205c2f3
|
@ -1532,7 +1532,7 @@ if(NOT HEADLESS_ONLY)
|
|||
# Install new files
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/openclonk.desktop DESTINATION share/applications)
|
||||
# Update the MIME cache -- this makes the clonk:// protocol handler actually work
|
||||
install(CODE "execute_process(COMMAND update-desktop-database)")
|
||||
install(CODE "message(\"Note: Run update-desktop-database to install clonk:// protocol handler\")")
|
||||
|
||||
# Install software center metadata
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/openclonk.appdata.xml DESTINATION share/appdata)
|
||||
|
|
Loading…
Reference in New Issue