diff options
Diffstat (limited to 'distro/ubuntu/preinst')
-rwxr-xr-x | distro/ubuntu/preinst | 4 |
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 |