summaryrefslogtreecommitdiff
path: root/network/urlgrabber/urlgrabber.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/urlgrabber/urlgrabber.SlackBuild')
-rw-r--r--network/urlgrabber/urlgrabber.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/network/urlgrabber/urlgrabber.SlackBuild b/network/urlgrabber/urlgrabber.SlackBuild
index a3f30459a4..1f25cad7f0 100644
--- a/network/urlgrabber/urlgrabber.SlackBuild
+++ b/network/urlgrabber/urlgrabber.SlackBuild
@@ -29,12 +29,10 @@ VERSION=3.10
BUILD=${BUILD:-1}
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
@@ -78,7 +76,7 @@ cp -a ChangeLog LICENSE README TODO \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# there are doc files on /usr/share (duplicated on /usr/doc)
-rm -r $PKG/usr/share/doc
+rm -r $PKG/usr/share/doc
rmdir $PKG/usr/share || true # if there is anything else on /usr/share, leave it alone
mkdir -p $PKG/install