diff options
author | Larry Hajali <larryhaja@gmail.com> | 2015-01-04 08:39:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-04 08:39:41 +0700 |
commit | 671735d433257cef9320bddc608bcf82aa55e5e6 (patch) | |
tree | 731a41112e1a7104b3555774b91313ede9e5034c /graphics/qcad/doinst.sh | |
parent | 84bf41e1996ad031630db1e3ff1f5adf4e59e01d (diff) | |
download | slackbuilds-671735d433257cef9320bddc608bcf82aa55e5e6.tar.gz |
graphics/qcad: Added (Open Source CAD).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/qcad/doinst.sh')
-rw-r--r-- | graphics/qcad/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/qcad/doinst.sh b/graphics/qcad/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/graphics/qcad/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |