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/postinst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'distro/ubuntu/postinst') diff --git a/distro/ubuntu/postinst b/distro/ubuntu/postinst index 4b277286..d67f0dec 100755 --- a/distro/ubuntu/postinst +++ b/distro/ubuntu/postinst @@ -2,7 +2,10 @@ pkgname=mate-text-editor -/usr/sbin/mateconfpkg --install ${pkgname} +if [ -f /usr/sbin/mateconfpkg ]; then + /usr/sbin/mateconfpkg --install ${pkgname} +fi + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor exit 0 -- cgit v1.2.1