Blob Blame Raw
commit a08bb86c9b4b84e9989fe5981fef51d4cdd3f7f3
Author: Balló György <ballogyor@gmail.com>
Date:   Tue Dec 25 00:52:42 2018 +0000

    Don't use legacy path for AppStream metainfo file
    
    Metainfo files should be installed into /usr/share/metainfo.

diff --git a/paperwork-gtk/src/paperwork/frontend/shell.py b/paperwork-gtk/src/paperwork/frontend/shell.py
index c7577e06..ffba6e72 100644
--- a/paperwork-gtk/src/paperwork/frontend/shell.py
+++ b/paperwork-gtk/src/paperwork/frontend/shell.py
@@ -56,7 +56,7 @@ def _install(icondir, datadir):
         datadir, 'applications', 'work.openpaper.Paperwork.desktop'
     )
     appdata_path = os.path.join(
-        datadir, "appdata", "work.openpaper.Paperwork.appdata.xml"
+        datadir, "metainfo", "work.openpaper.Paperwork.appdata.xml"
     )
 
     os.makedirs(os.path.dirname(desktop_path), exist_ok=True)