From 96e741e058e48cf8ac2df0bdc8846c524b0ecbc1 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 18:53:48 -0400 Subject: graphics/scantailor: Fixed (Handle icon files) Signed-off-by: dsomero --- graphics/scantailor/doinst.sh | 8 +++++++- graphics/scantailor/scantailor.SlackBuild | 4 +--- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'graphics') diff --git a/graphics/scantailor/doinst.sh b/graphics/scantailor/doinst.sh index 01ca62b341..3e5691a052 100644 --- a/graphics/scantailor/doinst.sh +++ b/graphics/scantailor/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi \ No newline at end of file +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 diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild index f17e95d17e..fa3dd0ba58 100644 --- a/graphics/scantailor/scantailor.SlackBuild +++ b/graphics/scantailor/scantailor.SlackBuild @@ -6,15 +6,13 @@ PRGNAM=scantailor VERSION=${VERSION:-0.9.11.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 -- cgit v1.2.3