summaryrefslogtreecommitdiff
path: root/distro/ubuntu/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu/postinst')
-rwxr-xr-xdistro/ubuntu/postinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/distro/ubuntu/postinst b/distro/ubuntu/postinst
new file mode 100755
index 00000000..e4d39c19
--- /dev/null
+++ b/distro/ubuntu/postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+pkgname=mate-panel
+
+MATECONF_CONFIG_SOURCE=`/usr/bin/mateconftool-2 --get-default-source`
+/usr/bin/mateconftool-2 --config-source="${MATECONF_CONFIG_SOURCE}" --direct --load \
+ /etc/mateconf/schemas/panel-default-setup.entries >/dev/null
+
+if [ -f /usr/sbin/mateconfpkg ]; then
+ /usr/sbin/mateconfpkg --install ${pkgname}
+fi
+
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+
+exit 0