aboutsummaryrefslogtreecommitdiff
path: root/bootsplash/bootsplash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'bootsplash/bootsplash.SlackBuild')
-rwxr-xr-xbootsplash/bootsplash.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/bootsplash/bootsplash.SlackBuild b/bootsplash/bootsplash.SlackBuild
index bfcd5554..ad28f76e 100755
--- a/bootsplash/bootsplash.SlackBuild
+++ b/bootsplash/bootsplash.SlackBuild
@@ -18,14 +18,12 @@ fi
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="bootsplash"
ARCH=${ARCH:=i486}