summaryrefslogtreecommitdiff
path: root/distro/ubuntu/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu/postinst')
-rwxr-xr-xdistro/ubuntu/postinst5
1 files changed, 4 insertions, 1 deletions
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