summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-utils.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2018-03-27 10:43:11 +0100
committerRichard Hughes <richard@hughsie.com>2018-03-27 10:43:14 +0100
commit4de6da21720f9c9e35cd24853c8ff51f5f6f16e4 (patch)
treef44989f6346ee649afaa3b52673dcc2adf23a645 /libappstream-glib/as-utils.c
parent911ef7fb4b3bdda8acd6cf57715b9020c65e274c (diff)
downloadappstream-glib-4de6da21720f9c9e35cd24853c8ff51f5f6f16e4.tar.gz
Don't include the path component in the name when parsing the package filename
If the guessing fails, we fall back to the arch/rpm/deb-derived name but we don't want to show weird things in the logs. Fixes https://github.com/hughsie/appstream-glib/issues/228, many thanks to Andrew Gunnerson for the initial patch.
Diffstat (limited to 'libappstream-glib/as-utils.c')
0 files changed, 0 insertions, 0 deletions