aboutsummaryrefslogtreecommitdiff
path: root/icecast/ices.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'icecast/ices.SlackBuild')
-rwxr-xr-xicecast/ices.SlackBuild8
1 files changed, 3 insertions, 5 deletions
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}