aboutsummaryrefslogtreecommitdiff
path: root/wipe/wipe.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'wipe/wipe.SlackBuild')
-rwxr-xr-xwipe/wipe.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/wipe/wipe.SlackBuild b/wipe/wipe.SlackBuild
index 69f1e1d9..631fed79 100755
--- a/wipe/wipe.SlackBuild
+++ b/wipe/wipe.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="wipe"
VERSION=${VERSION:=2.2.0}