diff options
Diffstat (limited to 'icecast')
-rwxr-xr-x | icecast/icecast.SlackBuild | 8 | ||||
-rwxr-xr-x | icecast/ices.SlackBuild | 8 |
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} |