summaryrefslogtreecommitdiffstats
path: root/misc/gcolor2/doinst.sh
diff options
context:
space:
mode:
author slakmagik2011-03-01 16:29:44 +0100
committer Robby Workman2011-03-01 16:29:44 +0100
commit99c68a8498ff0c4be00fb2be5680f931d84ce5cc (patch)
tree05d9695b012ca747b3d72f210af2e557bcaa0ebb /misc/gcolor2/doinst.sh
parent0af14e85aec6c61f2468d5109246827bdb3f25be (diff)
downloadslackbuilds-99c68a8498ff0c4be00fb2be5680f931d84ce5cc.tar.gz
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>
Diffstat (limited to 'misc/gcolor2/doinst.sh')
-rw-r--r--misc/gcolor2/doinst.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/gcolor2/doinst.sh b/misc/gcolor2/doinst.sh
index 7ebfa3ab4d..5fb28930db 100644
--- a/misc/gcolor2/doinst.sh
+++ b/misc/gcolor2/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi