summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 00:53:37 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:05 -0500
commit42efab85434d74c5a4fa9bd66f632f42abf4f3c5 (patch)
tree4911f3fddeabc3430d79181e0683b51611f4630a /network
parent95e82341444365f75051a85789c205207446d609 (diff)
downloadslackbuilds-42efab85434d74c5a4fa9bd66f632f42abf4f3c5.tar.gz
network/xnetload: Fixed (Use relative path in doinst.sh)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/xnetload/doinst.sh4
-rw-r--r--network/xnetload/xnetload.SlackBuild4
2 files changed, 2 insertions, 6 deletions
diff --git a/network/xnetload/doinst.sh b/network/xnetload/doinst.sh
index be28a0da1f..5fde03b4c6 100644
--- a/network/xnetload/doinst.sh
+++ b/network/xnetload/doinst.sh
@@ -1,5 +1,3 @@
-#!/bin/sh
-
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -13,4 +11,4 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config /etc/X11/app-defaults/XNetload.new
+config etc/X11/app-defaults/XNetload.new
diff --git a/network/xnetload/xnetload.SlackBuild b/network/xnetload/xnetload.SlackBuild
index 075cfda9ee..c7ac98c379 100644
--- a/network/xnetload/xnetload.SlackBuild
+++ b/network/xnetload/xnetload.SlackBuild
@@ -8,15 +8,13 @@
PRGNAM=xnetload
VERSION=${VERSION:-1.11.3}
-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