98 |
fi |
fi |
99 |
} |
} |
100 |
|
|
101 |
|
gn2_update_schemas() |
102 |
|
{ |
103 |
|
if [ -x ${MROOT}/usr/bin/glib-compile-schemas ] |
104 |
|
then |
105 |
|
echo "Updating glib schemas ..." |
106 |
|
${MROOT}/usr/bin/glib-compile-schemas ${MROOT}/usr/share/glib-2.0/schemas |
107 |
|
fi |
108 |
|
} |
109 |
|
|
110 |
|
gn2_update_gio() |
111 |
|
{ |
112 |
|
if [ -x ${MROOT}/usr/bin/gio-querymodules ] |
113 |
|
then |
114 |
|
echo "Updating glib gio modules ..." |
115 |
|
${MROOT}/usr/bin/gio-querymodules ${MROOT}/usr/$(mlibdir)/gio/modules |
116 |
|
fi |
117 |
|
} |
118 |
|
|
119 |
gn2_postinstall() |
gn2_postinstall() |
120 |
{ |
{ |
121 |
gn2_update_gconf |
gn2_update_gconf |
122 |
gn2_update_scrollkeeper |
gn2_update_scrollkeeper |
123 |
|
gn2_update_schemas |
124 |
|
gn2_update_gio |
125 |
gn2_update_desktop_db |
gn2_update_desktop_db |
126 |
gn2_update_mime_db |
gn2_update_mime_db |
127 |
gn2_update_icon_cache |
gn2_update_icon_cache |
130 |
gn2_postremove() |
gn2_postremove() |
131 |
{ |
{ |
132 |
gn2_update_scrollkeeper |
gn2_update_scrollkeeper |
133 |
|
gn2_update_schemas |
134 |
|
gn2_update_gio |
135 |
gn2_update_desktop_db |
gn2_update_desktop_db |
136 |
gn2_update_mime_db |
gn2_update_mime_db |
137 |
gn2_update_icon_cache |
gn2_update_icon_cache |