slackbuilds_ponce/misc/gcolor2/doinst.sh
slakmagik 99c68a8498 misc/gcolor2: misc cleanups; drop a mystery patch
I can't find the (original) source of what was 'callbacks.c.2.patch'
and it doesn't seem to be needed. The comments (not entirely mine)
were also confusing. Reacquired 2 patches (without useless whitespace)
from Debian and clearly commented them. (My patch is unchanged.)
Bump BUILD because of this.

Also update doinst.sh boilerplate. Allow VERSION to be passed to the
script. Remove unneeded comments and configure flags. Add missing piece
of the ARCH boilerplate.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-03-01 09:29:44 -06:00

3 lines
129 B
Bash

if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi