summaryrefslogtreecommitdiff
path: root/distro/ubuntu/preinst
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu/preinst')
-rwxr-xr-xdistro/ubuntu/preinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/distro/ubuntu/preinst b/distro/ubuntu/preinst
index d38cd063..56db60a5 100755
--- a/distro/ubuntu/preinst
+++ b/distro/ubuntu/preinst
@@ -2,5 +2,7 @@
pkgname=mate-text-editor
-/usr/sbin/mateconfpkg --uninstall ${pkgname}
+if [ -f /usr/sbin/mateconfpkg ]; then
+ /usr/sbin/mateconfpkg --uninstall ${pkgname}
+fi