diff options
Diffstat (limited to 'patches/smartmontools')
-rwxr-xr-x | patches/smartmontools/smartmontools.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/smartmontools/smartmontools.SlackBuild b/patches/smartmontools/smartmontools.SlackBuild index 54f5f771..af7c62dc 100755 --- a/patches/smartmontools/smartmontools.SlackBuild +++ b/patches/smartmontools/smartmontools.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 - PACKAGE="smartmontools" VERSION=${VERSION:=5.36} ARCH=${ARCH:=i486} |