From e1ae146a04df065d6f7746bc524e7bd0970266d9 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 11 Oct 2021 23:31:57 -0400 Subject: games/yahtzee: New-style icons. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/yahtzee/doinst.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 games/yahtzee/doinst.sh (limited to 'games/yahtzee/doinst.sh') diff --git a/games/yahtzee/doinst.sh b/games/yahtzee/doinst.sh new file mode 100644 index 0000000000000..3e5691a052b5b --- /dev/null +++ b/games/yahtzee/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 -- cgit v1.2.3