summaryrefslogtreecommitdiff
path: root/distro/ubuntu/prerm
blob: fffeaefb5942872cec3d90995d8e36df53c62c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e

pkgname=mate-panel

MATECONF_CONFIG_SOURCE=`usr/bin/mateconftool-2 --get-default-source`

/usr/bin/mateconftool-2 --config-source="${MATECONF_CONFIG_SOURCE}" --direct --unload \
	/etc/mateconf/schemas/panel-default-setup.entries > /dev/null

if [ -f /usr/sbin/mateconfpkg ]; then
	/usr/sbin/mateconfpkg --uninstall ${pkgname}
fi

exit 0