aboutsummaryrefslogtreecommitdiff
path: root/nano
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 17:18:39 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 17:18:39 +0000
commit9c3e267dd404d0827f6a20a9940b89aa9234eeb6 (patch)
tree461a7b833f506b74b2f2d3ba23334303d6fb03da /nano
parent3a61615b70c5c5c1848102465c931a7fe498e11d (diff)
downloadslackbuilds-9c3e267dd404d0827f6a20a9940b89aa9234eeb6.tar.gz
slackbuilds-9c3e267dd404d0827f6a20a9940b89aa9234eeb6.tar.bz2
os ~/.slackbuilds
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@645 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'nano')
-rwxr-xr-xnano/nano.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/nano/nano.SlackBuild b/nano/nano.SlackBuild
index 208c15c3..0d164d87 100755
--- a/nano/nano.SlackBuild
+++ b/nano/nano.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
-
# default settings
PACKAGE="nano"
ARCH=${ARCH:=i486}