summaryrefslogtreecommitdiff
path: root/distro/ubuntu/postinst
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-12 05:44:22 -0300
committerPerberos <[email protected]>2011-11-12 05:44:22 -0300
commit490f2d5bb5c5fb7c5575ac1eddcd8ae15e756495 (patch)
tree08ebf8aa34c22f672a074c0f7b6a73d159bb09a9 /distro/ubuntu/postinst
parent6a04ee4e4eecb96a2461012c435fbfec1187e9e0 (diff)
downloadpluma-490f2d5bb5c5fb7c5575ac1eddcd8ae15e756495.tar.bz2
pluma-490f2d5bb5c5fb7c5575ac1eddcd8ae15e756495.tar.xz
updating distro scripts
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