aboutsummaryrefslogtreecommitdiff
path: root/rssh/rssh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'rssh/rssh.SlackBuild')
-rwxr-xr-xrssh/rssh.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/rssh/rssh.SlackBuild b/rssh/rssh.SlackBuild
index 9dd76960..af7c2324 100755
--- a/rssh/rssh.SlackBuild
+++ b/rssh/rssh.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
PRGNAM="rssh"
PACKAGE="$PRGNAM"