aboutsummaryrefslogtreecommitdiff
path: root/patches/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'patches/mysql')
-rwxr-xr-xpatches/mysql/mysql.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/mysql/mysql.SlackBuild b/patches/mysql/mysql.SlackBuild
index c370ce04..bccba06b 100755
--- a/patches/mysql/mysql.SlackBuild
+++ b/patches/mysql/mysql.SlackBuild
@@ -9,14 +9,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
-
PACKAGE="mysql"
VERSION=${VERSION:=4.1.21}
ARCH=${ARCH:=i486}