Accepting request 922527 from X11:common:Factory

OBS-URL: https://build.opensuse.org/request/show/922527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/desktop-file-utils?expand=0&rev=66
This commit is contained in:
Dominique Leuenberger 2021-10-04 16:39:28 +00:00 committed by Git OBS Bridge
commit abab4c92e2
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 7 21:33:46 UTC 2021 - Alexei Podvalsky <avvissu@yandex.by>
- suse-update-mime-defaults: add Pantheon desktop environment
-------------------------------------------------------------------
Thu Jul 16 18:38:50 UTC 2020 - andy great <andythe_great@pm.me>

View File

@ -37,7 +37,7 @@ if [ ! -d $r/var/cache/gio-2.0 ]; then
mkdir -m 755 -p $r/var/cache/gio-2.0
fi
for desktop in gnome xfce lxde; do
for desktop in gnome xfce lxde pantheon; do
awk -vdesktop=${desktop} '
# print a warning to stderr
function warn(msg, cmd) {
@ -121,6 +121,8 @@ BEGIN {
categories_list = "XFCE,GTK"
} else if (desktop == "lxde") {
categories_list = "GTK"
} else if (desktop == "pantheon") {
categories_list = "GTK"
}
split(categories_list, categories, /,/)
root = ENVIRON["r"]