diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 18:46:51 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-30 20:01:02 -0500 |
commit | afedede1f5fac75cc148949e7eff2216a77a102a (patch) | |
tree | 9b71f8c120217825fdeb9d4d89438221bdc7e7f9 /graphics/lcdtest/doinst.sh | |
parent | 773193500a22e290f7ec40a3d11b699bbf66c7e8 (diff) | |
download | slackbuilds-afedede1f5fac75cc148949e7eff2216a77a102a.tar.gz |
graphics/lcdtest: Fixed (Handle desktop and icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/lcdtest/doinst.sh')
-rw-r--r-- | graphics/lcdtest/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/lcdtest/doinst.sh b/graphics/lcdtest/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/graphics/lcdtest/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 |