From 9af7a5e36ec69da16653dd6a35d55e315d6442fe Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Tue, 19 May 2020 02:18:51 -0500 Subject: misc/goldencheetah: Added desktop file and icons. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Marek Šrejma for the suggestions. Signed-off-by: Kyle Guinn Signed-off-by: Willy Sudiarto Raharjo --- misc/goldencheetah/doinst.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 misc/goldencheetah/doinst.sh (limited to 'misc/goldencheetah/doinst.sh') diff --git a/misc/goldencheetah/doinst.sh b/misc/goldencheetah/doinst.sh new file mode 100644 index 0000000000..4a25de5e6f --- /dev/null +++ b/misc/goldencheetah/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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + -- cgit v1.2.3