diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 21:35:32 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-30 20:01:04 -0500 |
commit | 833c8480d91c6819b30e758e097b3872c56ec83d (patch) | |
tree | 0dc32a266fd947ec687a203c262ce32b1f1de49f /multimedia/avidemux | |
parent | af11800446591e1ba4a27b49af483644b5b019c8 (diff) |
multimedia/avidemux: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/avidemux')
-rw-r--r-- | multimedia/avidemux/avidemux.SlackBuild | 4 | ||||
-rw-r--r-- | multimedia/avidemux/doinst.sh | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild index c471d78002e6b..509ddf7c1cc63 100644 --- a/multimedia/avidemux/avidemux.SlackBuild +++ b/multimedia/avidemux/avidemux.SlackBuild @@ -27,15 +27,13 @@ PRGNAM=avidemux VERSION=${VERSION:-2.5.6} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi diff --git a/multimedia/avidemux/doinst.sh b/multimedia/avidemux/doinst.sh index 65028cbc6aa6c..82963fccebf01 100644 --- a/multimedia/avidemux/doinst.sh +++ b/multimedia/avidemux/doinst.sh @@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications 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 + |