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/prerm | |
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/prerm')
-rwxr-xr-x | distro/ubuntu/prerm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/distro/ubuntu/prerm b/distro/ubuntu/prerm new file mode 100755 index 00000000..fffeaefb --- /dev/null +++ b/distro/ubuntu/prerm @@ -0,0 +1,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 |