updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / mate-panel / mate-panel.install
blob672553250f41ceacccf2c7e0f9b855845e53f6ea
1 pkgname=mate-panel
3 post_install() {
4         MATECONF_CONFIG_SOURCE=`usr/bin/mateconftool-2 --get-default-source`
5         usr/bin/mateconftool-2 --config-source="${MATECONF_CONFIG_SOURCE}" --direct --load \
6                 etc/mateconf/schemas/panel-default-setup.entries >/dev/null
7         usr/sbin/mateconfpkg --install ${pkgname}
9         gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
12 pre_upgrade() {
13         pre_remove $1
16 post_upgrade() {
17         post_install $1
20 pre_remove() {
21         MATECONF_CONFIG_SOURCE=`usr/bin/mateconftool-2 --get-default-source`
22         
23         usr/bin/mateconftool-2 --config-source="${MATECONF_CONFIG_SOURCE}" --direct --unload \
24         etc/mateconf/schemas/panel-default-setup.entries > /dev/null
25         
26         usr/sbin/mateconfpkg --uninstall ${pkgname}
29 post_remove() {
30         gtk-update-icon-cache -q -t -f usr/share/icons/hicolor