aboutsummaryrefslogtreecommitdiff
path: root/icecast
diff options
context:
space:
mode:
Diffstat (limited to 'icecast')
-rwxr-xr-xicecast/icecast.SlackBuild8
-rwxr-xr-xicecast/ices.SlackBuild8
2 files changed, 6 insertions, 10 deletions
diff --git a/icecast/icecast.SlackBuild b/icecast/icecast.SlackBuild
index 7ab9e4fa..2bee5cf1 100755
--- a/icecast/icecast.SlackBuild
+++ b/icecast/icecast.SlackBuild
@@ -59,14 +59,12 @@ fi
# Set initial variables:
CWD="`pwd`"
-if [ -f "/etc/slackbuildrc" ]; then
+if [ -f ~/.slackbuildrc ]; then
+ source ~/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
source /etc/slackbuildrc
fi
-if [ -f "/root/.slackbuildrc" ]; then
- source /root/.slackbuildrc
-fi
-
PRGNAM=icecast
PACKAGE="$PRGNAM"
VERSION=${VERSION:=2.3.1}
diff --git a/icecast/ices.SlackBuild b/icecast/ices.SlackBuild
index 18a6d1d8..a6d6bf7d 100755
--- a/icecast/ices.SlackBuild
+++ b/icecast/ices.SlackBuild
@@ -6,14 +6,12 @@
CWD=`pwd`
-if [ -f "/etc/slackbuildrc" ]; then
+if [ -f ~/.slackbuildrc ]; then
+ source ~/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
source /etc/slackbuildrc
fi
-if [ -f "/root/.slackbuildrc" ]; then
- source /root/.slackbuildrc
-fi
-
# default settings
PACKAGE="ices"
ARCH=${ARCH:=i486}