From 490f2d5bb5c5fb7c5575ac1eddcd8ae15e756495 Mon Sep 17 00:00:00 2001 From: Perberos Date: Sat, 12 Nov 2011 05:44:22 -0300 Subject: updating distro scripts --- distro/ubuntu/preinst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'distro/ubuntu/preinst') 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 -- cgit v1.2.1