From 9c3e267dd404d0827f6a20a9940b89aa9234eeb6 Mon Sep 17 00:00:00 2001 From: rudson Date: Wed, 15 Nov 2006 17:18:39 +0000 Subject: os ~/.slackbuilds git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@645 370017ae-e619-0410-ac65-c121f96126d4 --- icecast/icecast.SlackBuild | 8 +++----- icecast/ices.SlackBuild | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'icecast') 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} -- cgit v1.2.3