mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/xnetload: Fixed (Use relative path in doinst.sh)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
95e8234144
commit
42efab8543
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue