#!/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/
		cp -rf /var/lib/pkg/etkilenen/glib/giomodule.cache /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/
