diff options
author | Perberos <[email protected]> | 2011-12-01 22:56:10 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 22:56:10 -0300 |
commit | c51ef797a707f4e2c6f9688d4378f2b0e9898a66 (patch) | |
tree | 019ae92bb53c19b30077545cb14743cbd1b57aef /distro/ubuntu/postinst | |
download | mate-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-x | distro/ubuntu/postinst | 15 |
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 |