aboutsummaryrefslogtreecommitdiff
path: root/icecast
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 17:18:39 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 17:18:39 +0000
commit9c3e267dd404d0827f6a20a9940b89aa9234eeb6 (patch)
tree461a7b833f506b74b2f2d3ba23334303d6fb03da /icecast
parent3a61615b70c5c5c1848102465c931a7fe498e11d (diff)
downloadslackbuilds-9c3e267dd404d0827f6a20a9940b89aa9234eeb6.tar.gz
slackbuilds-9c3e267dd404d0827f6a20a9940b89aa9234eeb6.tar.bz2
os ~/.slackbuilds
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@645 370017ae-e619-0410-ac65-c121f96126d4
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}