Skip to content

Commit becbf94

Browse files
authored
fix: Update logomenu to use gnome-software for Fedora < 42 (#2749)
1 parent 109f32e commit becbf94

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build_files/base/07-base-image-changes.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ if [[ "${FEDORA_MAJOR_VERSION}" -lt "41" ]]; then
3030
sed -i 's@'", "\''xwayland-native-scaling'\''@@g' /usr/share/glib-2.0/schemas/zz1-bluefin-modifications-mutter-exp-feats.gschema.override
3131
fi
3232

33+
# Bazaar isn't ready on fedora 41, so for now, set logomenu to still use gnome-software
34+
# This way the software center option isn't broken for regular users
35+
# This should be removed as soon as bazaar is ready
36+
if [[ "${FEDORA_MAJOR_VERSION}" -lt "42" ]]; then
37+
sed -i 's/\/usr\/bin\/bazaar window --auto-service/gnome-software/' /etc/dconf/db/distro.d/04-bluefin-logomenu-extension
38+
fi
39+
3340
# Test bluefin gschema override for errors. If there are no errors, proceed with compiling bluefin gschema, which includes setting overrides.
3441
mkdir -p /tmp/bluefin-schema-test
3542
find /usr/share/glib-2.0/schemas/ -type f ! -name "*.gschema.override" -exec cp {} /tmp/bluefin-schema-test/ \;

0 commit comments

Comments
 (0)