[evince/gnome-3-24] comics: Fix extra "; " leading to a warning during installation
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/gnome-3-24] comics: Fix extra "; " leading to a warning during installation
- Date: Mon, 17 Jul 2017 14:49:33 +0000 (UTC)
commit efbd151d594ad117cfa381cdec0201648cddf7e0
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 17 16:45:19 2017 +0200
comics: Fix extra ";" leading to a warning during installation
The concatenated mime-types end up with a ...mime-type;;mime-type...
pattern, an empty mime-type, which update-desktop-database doesn't
like.
Error in file "/usr/share/applications/evince.desktop": "" is an invalid MIME type ("" does not contain a
subtype)
See https://bugzilla.redhat.com/show_bug.cgi?id=1471474
https://bugzilla.gnome.org/show_bug.cgi?id=785026
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7eb0f1f..9d568b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -795,7 +795,7 @@ AC_SUBST(TIFF_MIME_TYPES)
AC_SUBST(APPDATA_TIFF_MIME_TYPES)
AM_SUBST_NOTMAKE(APPDATA_TIFF_MIME_TYPES)
if test "x$enable_comics" = "xyes"; then
-
COMICS_MIME_TYPES="application/x-cbr;application/x-cbz;application/x-cb7;application/x-ext-cbr;application/x-ext-cbz;application/vnd.comicbook+zip;application/x-ext-cb7;"
+
COMICS_MIME_TYPES="application/x-cbr;application/x-cbz;application/x-cb7;application/x-ext-cbr;application/x-ext-cbz;application/vnd.comicbook+zip;application/x-ext-cb7"
APPDATA_COMICS_MIME_TYPES=$(echo "<mimetype>$COMICS_MIME_TYPES</mimetype>" | sed -e
's/;/<\/mimetype>\n <mimetype>/g')
if test -z "$EVINCE_MIME_TYPES"; then
EVINCE_MIME_TYPES="${COMICS_MIME_TYPES}"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]