Skip to content

Commit

Permalink
clamav-gui: rebuilt. Fix doinst.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
conraid committed Feb 7, 2017
1 parent e5b69c8 commit 6801727
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clamav-gui/clamav-gui.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CWD=$(pwd)
PRGNAM=ClamAV-GUI
PKGNAM=$(echo $PRGNAM | tr A-Z a-z)
VERSION=0.4.1
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-cf}
TMP=${TMP:-/tmp/pkg}
PKG=$TMP/package-$PKGNAM
Expand Down
6 changes: 3 additions & 3 deletions clamav-gui/doinst.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Update the desktop database:
if [ -x usr/bin/update-desktop-database ]; then
chroot . /usr/bin/update-desktop-database -q /usr/share/applications > /dev/null 2>&1
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
fi

# Update icon cache if one exists
if [ -r usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
chroot . /usr/bin/gtk-update-icon-cache -t -f -q usr/share/icons/hicolor >/dev/null 2>&1
/usr/bin/gtk-update-icon-cache -t -f -q usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

0 comments on commit 6801727

Please sign in to comment.