mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
gnome-software: don't open unsupported mimetypes
The gnome-software package can only be used for flatpaks, opening rpms, debs and other package archives will only result in an error message.
This commit is contained in:
parent
a515f9d4cf
commit
1ee2f45570
2 changed files with 9 additions and 1 deletions
|
@ -0,0 +1,8 @@
|
|||
--- a/src/gnome-software-local-file.desktop.in
|
||||
+++ b/src/gnome-software-local-file.desktop.in
|
||||
@@ -9,4 +9,4 @@ Type=Application
|
||||
Icon=system-software-install
|
||||
StartupNotify=true
|
||||
NoDisplay=true
|
||||
-MimeType=application/x-rpm;application/x-redhat-package-manager;application/x-deb;application/x-app-package;application/vnd.ms-cab-compressed;application/vnd.flatpak;application/vnd.flatpak.repo;application/vnd.flatpak.ref;application/vnd.snap;
|
||||
+MimeType=application/vnd.flatpak;application/vnd.flatpak.repo;application/vnd.flatpak.ref
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gnome-software'
|
||||
pkgname=gnome-software
|
||||
version=42.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
configure_args="-Dvalgrind=false -Dpackagekit=false -Dfwupd=false
|
||||
-Dmalcontent=false $(vopt_bool gtk_doc) -Dsoup2=true"
|
||||
|
|
Loading…
Add table
Reference in a new issue