Blame a08bb86c9b4b84e9989fe5981fef51d4cdd3f7f3.patch

bceae8
commit a08bb86c9b4b84e9989fe5981fef51d4cdd3f7f3
bceae8
Author: Ballรณ Gyรถrgy <ballogyor@gmail.com>
bceae8
Date:   Tue Dec 25 00:52:42 2018 +0000
bceae8
bceae8
    Don't use legacy path for AppStream metainfo file
bceae8
    
bceae8
    Metainfo files should be installed into /usr/share/metainfo.
bceae8
bceae8
diff --git a/paperwork-gtk/src/paperwork/frontend/shell.py b/paperwork-gtk/src/paperwork/frontend/shell.py
bceae8
index c7577e06..ffba6e72 100644
bceae8
--- a/paperwork-gtk/src/paperwork/frontend/shell.py
bceae8
+++ b/paperwork-gtk/src/paperwork/frontend/shell.py
bceae8
@@ -56,7 +56,7 @@ def _install(icondir, datadir):
bceae8
         datadir, 'applications', 'work.openpaper.Paperwork.desktop'
bceae8
     )
bceae8
     appdata_path = os.path.join(
bceae8
-        datadir, "appdata", "work.openpaper.Paperwork.appdata.xml"
bceae8
+        datadir, "metainfo", "work.openpaper.Paperwork.appdata.xml"
bceae8
     )
bceae8
 
bceae8
     os.makedirs(os.path.dirname(desktop_path), exist_ok=True)