summaryrefslogtreecommitdiff
path: root/distro/ubuntu/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu/prerm')
-rwxr-xr-xdistro/ubuntu/prerm4
1 files changed, 3 insertions, 1 deletions
diff --git a/distro/ubuntu/prerm b/distro/ubuntu/prerm
index dd14f340..565c7608 100755
--- a/distro/ubuntu/prerm
+++ b/distro/ubuntu/prerm
@@ -2,6 +2,8 @@
pkgname=mate-text-editor
-/usr/sbin/mateconfpkg --uninstall ${pkgname}
+if [ -f /usr/sbin/mateconfpkg ]; then
+ /usr/sbin/mateconfpkg --uninstall ${pkgname}
+fi
exit 0