From bdcbd7489d685e3b42785eafec11e211a2749c05 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 2 Sep 2008 10:56:13 +0000 Subject: INTEGRATION: CWS sysui30_DEV300 (1.1.2); FILE ADDED 2008/08/28 14:18:59 ihi 1.1.2.1: #i92874# 3-layer-office fix --- sysui/desktop/solaris/postremove | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sysui/desktop/solaris/postremove (limited to 'sysui/desktop/solaris/postremove') diff --git a/sysui/desktop/solaris/postremove b/sysui/desktop/solaris/postremove new file mode 100644 index 000000000000..460c3f2fa196 --- /dev/null +++ b/sysui/desktop/solaris/postremove @@ -0,0 +1,16 @@ +#!/bin/sh + +# check whether /usr is writable +tiptoe="${PKG_INSTALL_ROOT}/usr/_.$$" +touch "$tiptoe" >/dev/null 2>&1 +if [ $? -ne 0 ]; then + exit 0 +fi +rm -f "$tiptoe" + +# update shared mime database +if [ -x /usr/bin/update-mime-database ]; then + update-mime-database ${PKG_INSTALL_ROOT}/usr/share/mime +fi + +exit 0 -- cgit v1.2.3