summaryrefslogtreecommitdiff
path: root/distro/ubuntu/preinst
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 23:53:21 -0300
committerPerberos <[email protected]>2011-12-01 23:53:21 -0300
commit505cabbd3036081f26586cabc64c26e7769c0ec9 (patch)
tree09e0498bf572128f5c9ab551531cb28d6d75e992 /distro/ubuntu/preinst
downloadmate-settings-daemon-505cabbd3036081f26586cabc64c26e7769c0ec9.tar.bz2
mate-settings-daemon-505cabbd3036081f26586cabc64c26e7769c0ec9.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'distro/ubuntu/preinst')
-rwxr-xr-xdistro/ubuntu/preinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/distro/ubuntu/preinst b/distro/ubuntu/preinst
new file mode 100755
index 0000000..818847c
--- /dev/null
+++ b/distro/ubuntu/preinst
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+pkgname=mate-settings-daemon
+
+if [ -f /usr/sbin/mateconfpkg ]; then
+ /usr/sbin/mateconfpkg --uninstall ${pkgname}
+fi