diff options
Diffstat (limited to 'office/semantik/doinst.sh')
-rw-r--r-- | office/semantik/doinst.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/office/semantik/doinst.sh b/office/semantik/doinst.sh new file mode 100644 index 0000000000000..c820737506191 --- /dev/null +++ b/office/semantik/doinst.sh @@ -0,0 +1,16 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + + + +# Update hicolor theme cache: +if [ -d usr/share/icons/hicolor ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + chroot . /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null + fi +fi |