diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2012-08-12 00:42:23 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-12 00:42:23 -0500 |
commit | 383bdf909b7929a2f2d6fe6fe661a66df65fb183 (patch) | |
tree | 7b56cce676a14bb3bd3caeb06c8a3fa22693ef5f /graphics/teighaviewer/doinst.sh | |
parent | 9415f99f7e15bc44c616460a080fc1c1f5643118 (diff) |
graphics/teighaviewer: Added (DWG and DGN file viewer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/teighaviewer/doinst.sh')
-rw-r--r-- | graphics/teighaviewer/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/teighaviewer/doinst.sh b/graphics/teighaviewer/doinst.sh new file mode 100644 index 0000000000000..1f8ff67dedb29 --- /dev/null +++ b/graphics/teighaviewer/doinst.sh @@ -0,0 +1,10 @@ +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 + |