diff options
Diffstat (limited to 'denyhosts/denyhosts.SlackBuild')
-rwxr-xr-x | denyhosts/denyhosts.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/denyhosts/denyhosts.SlackBuild b/denyhosts/denyhosts.SlackBuild index eddc96b0..42184a02 100755 --- a/denyhosts/denyhosts.SlackBuild +++ b/denyhosts/denyhosts.SlackBuild @@ -5,14 +5,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="denyhosts" VERSION=${VERSION:=2.5} |