summaryrefslogtreecommitdiff
path: root/distro/ubuntu/postinst
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 22:56:10 -0300
committerPerberos <[email protected]>2011-12-01 22:56:10 -0300
commitc51ef797a707f4e2c6f9688d4378f2b0e9898a66 (patch)
tree019ae92bb53c19b30077545cb14743cbd1b57aef /distro/ubuntu/postinst
downloadmate-panel-c51ef797a707f4e2c6f9688d4378f2b0e9898a66.tar.bz2
mate-panel-c51ef797a707f4e2c6f9688d4378f2b0e9898a66.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
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