Skip to content

Commit

Permalink
utils: Expect a dash in icons file name
Browse files Browse the repository at this point in the history
The dash (`-`) is used in the appstream generated files, thus expect it.

Related to ximion#683
  • Loading branch information
mcrha committed Jan 16, 2025
1 parent 450f659 commit 980fc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/as-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2656,7 +2656,7 @@ as_utils_install_metadata_file (AsMetadataLocation location,
}

/* guess origin */
tmp2 = g_strdup_printf ("_icons-%s.tar.gz", icons_size_id);
tmp2 = g_strdup_printf ("-icons-%s.tar.gz", icons_size_id);
tmp = g_strstr_len (basename, -1, tmp2);
if (tmp != NULL) {
*tmp = '\0';
Expand Down

0 comments on commit 980fc4a

Please sign in to comment.