summaryrefslogtreecommitdiff
path: root/distro/ubuntu/postinst
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-04 22:26:05 -0300
committerPerberos <[email protected]>2011-11-04 22:26:05 -0300
commit515c3ef7b02ccded0024402cacb6244f94a1eb02 (patch)
tree1f3c88cf14c0f6b1e4fea605d8d0c685370ce305 /distro/ubuntu/postinst
parentfff4ecc82f2bcfa7427596e7ad9c3769fcab040b (diff)
downloadmate-screensaver-515c3ef7b02ccded0024402cacb6244f94a1eb02.tar.bz2
mate-screensaver-515c3ef7b02ccded0024402cacb6244f94a1eb02.tar.xz
agregando ubuntu script
Diffstat (limited to 'distro/ubuntu/postinst')
-rwxr-xr-xdistro/ubuntu/postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/distro/ubuntu/postinst b/distro/ubuntu/postinst
new file mode 100755
index 0000000..e7757d1
--- /dev/null
+++ b/distro/ubuntu/postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+pkgname=mate-screensaver
+
+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