summaryrefslogtreecommitdiffstats
path: root/digikam/build
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-09-30 20:02:59 +0000
committer Eric Hameleers <alien@slackware.com>2007-09-30 20:02:59 +0000
commit0eb1ba3a31e33abc33f231a4abe4ff3627e8a98a (patch)
tree2d00307061fcec47d31434529cb8fbafecea0ef0 /digikam/build
parent172fb5cc9a00517726fcb69ba1d1ad5fdb49ca1b (diff)
downloadasb-0eb1ba3a31e33abc33f231a4abe4ff3627e8a98a.tar.gz
asb-0eb1ba3a31e33abc33f231a4abe4ff3627e8a98a.tar.xz
Fix the chroot command
Diffstat (limited to 'digikam/build')
-rwxr-xr-xdigikam/build/digikam.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/digikam/build/digikam.SlackBuild b/digikam/build/digikam.SlackBuild
index fc652c18..5b1d35a9 100755
--- a/digikam/build/digikam.SlackBuild
+++ b/digikam/build/digikam.SlackBuild
@@ -34,6 +34,8 @@
# * Initial build.
# 0.9.2-1: 17/Sep/2007 by Eric Hameleers <alien@slackware.com>
# * Overdue update.
+# 0.9.2-2: 30/Sep/2007 by Eric Hameleers <alien@slackware.com>
+# * Fix the chroot command so that it actually works.
#
# Run 'sh digikam.SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -46,7 +48,7 @@
PRGNAM=digikam
VERSION=${VERSION:-0.9.2}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
DOCS="AUTHORS ChangeLog COPYING HACKING INSTALL NEWS README RELEASE.rev TODO"
@@ -180,7 +182,7 @@ fi
mkdir -p $PKG/install
cat <<-EOT > $PKG/install/doinst.sh
if [ -x usr/bin/update-desktop-database ]; then
- chroot /usr/bin/update-desktop-database \
+ chroot . /usr/bin/update-desktop-database \
${KDEPREF}/share/applications/kde >/dev/null 2>&1
fi