SlackBuildsOrg/graphics/gcolor2/doinst.sh
Dominik Drobek ba14d4c733 graphics/gcolor2: Changed category, updated script
Added license and aligned SlackBuild script with the SBo template. Added
SVG icon, and made doinst.sh update the icon cache. Changed source URL
to gzip-compressed tarball.

Category is changed from "misc" to "graphics", as it seems more
appropriate. This change is also reflected in the .desktop file.

Old Debian patches are dropped, and more up-to-date Gentoo patch is used
instead. rgb.txt patch is renamed.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2020-01-12 22:13:57 +07:00

9 lines
322 B
Bash

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