Skip to content

Commit

Permalink
Merge pull request sqlitebrowser#2195 from pinotree/appdata-location
Browse files Browse the repository at this point in the history
Install the AppStream file to the canonical location
  • Loading branch information
justinclift authored Apr 20, 2020
2 parents 988f200 + 09b8c54 commit ad39882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ if(UNIX)
DESTINATION share/applications/)

install(FILES distri/${PROJECT_NAME}.desktop.appdata.xml
DESTINATION share/appdata/)
DESTINATION share/metainfo/)
endif(UNIX)

if(WIN32 AND MSVC)
Expand Down
2 changes: 1 addition & 1 deletion src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ unix {
desktop.path = $$DATADIR/applications/
desktop.files = ../distri/sqlitebrowser.desktop
INSTALLS += desktop
appdata.path = $$DATADIR/appdata/
appdata.path = $$DATADIR/metainfo/
appdata.files = ../distri/sqlitebrowser.desktop.appdata.xml
INSTALLS += appdata
}
Expand Down

0 comments on commit ad39882

Please sign in to comment.