From a6a2453c9017ea58a769a0b7716750a47bcef3f6 Mon Sep 17 00:00:00 2001 From: milisbir Date: Mon, 7 May 2018 18:33:25 +0300 Subject: [PATCH] glib --- talimatname/genel/g/glib/glib.kos-sil | 1 + talimatname/genel/g/glib/glib.kur-kos | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/talimatname/genel/g/glib/glib.kos-sil b/talimatname/genel/g/glib/glib.kos-sil index a3e8f2b84..de273c976 100644 --- a/talimatname/genel/g/glib/glib.kos-sil +++ b/talimatname/genel/g/glib/glib.kos-sil @@ -2,6 +2,7 @@ for _kurtar in \ '/usr/lib/gio/modules' \ '/usr/share/glib-2.0/schemas' \ +'/usr/lib/gio/modules' \ '/usr/share/gettext/its' \ '/usr/share/locale' ; \ do diff --git a/talimatname/genel/g/glib/glib.kur-kos b/talimatname/genel/g/glib/glib.kur-kos index ec1013afa..ef82f37f1 100644 --- a/talimatname/genel/g/glib/glib.kur-kos +++ b/talimatname/genel/g/glib/glib.kur-kos @@ -1,3 +1,10 @@ #!/bin/sh +if [ -f /var/lib/pkg/etkilenen/glib/giomodule.cache ];then + for dosya in $(cat /var/lib/pkg/etkilenen/glib/giomodule.cache | cut -d':' -f1);do + [ -f /var/lib/pkg/etkilenen/glib/${dosya} ] && \ + cp -rf /var/lib/pkg/etkilenen/glib/${dosya} /usr/lib/gio/modules/ + done +fi + cp -rf /var/lib/pkg/etkilenen/glib/*.xml /usr/share/glib-2.0/schemas/ glib-compile-schemas /usr/share/glib-2.0/schemas/