[gnome-sdk-images/rebase-on-1.8] Hardcode some stuff from freedesktop-post.sh



commit f05e0150dee80c7bc5302e6d5a355e4be8e42386
Author: Alexander Larsson <alexl redhat com>
Date:   Mon May 14 12:19:52 2018 +0200

    Hardcode some stuff from freedesktop-post.sh

 org.gnome.Sdk.json.in | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 06a3170..9a1149c 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -38,7 +38,12 @@
                  "/share/gtk-doc/html",
                  "/lib/systemd",
                  "*.la", "*.a"],
-    "cleanup-commands": [ "update-desktop-database" ],
+    "cleanup-commands": [ "update-desktop-database",
+
+                          "touch -d @0 /usr/share/fonts /usr/share/fonts/*",
+                          "fc-cache -rs",
+                          "ldconfig -C /usr/etc/ld.so.cache"
+                        ],
     /* usr libexec freedesktop-post.sh */
     "cleanup-platform": [ "/share/runtime/docs",
                           "/include",
@@ -48,7 +53,11 @@
                           "/share/gir-1.0",
                           "/share/vala"
                         ],
-    "cleanup-platform-commands": [ ],
+    "cleanup-platform-commands": [
+        "touch -d @0 /usr/share/fonts /usr/share/fonts/*",
+        "fc-cache -rs",
+        "ldconfig -C /usr/etc/ld.so.cache"
+    ],
         / * usr libexec freedesktop-post.sh */
     "build-options" : {
         "env": {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]