aboutsummaryrefslogtreecommitdiff
path: root/cryptsetup
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 /cryptsetup
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 'cryptsetup')
-rwxr-xr-xcryptsetup/cryptsetup-luks.SlackBuild8
-rwxr-xr-xcryptsetup/cryptsetup.SlackBuild8
2 files changed, 6 insertions, 10 deletions
diff --git a/cryptsetup/cryptsetup-luks.SlackBuild b/cryptsetup/cryptsetup-luks.SlackBuild
index 98919933..65da2e3b 100755
--- a/cryptsetup/cryptsetup-luks.SlackBuild
+++ b/cryptsetup/cryptsetup-luks.SlackBuild
@@ -18,14 +18,12 @@ fi
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="cryptsetup-luks"
ARCH=${ARCH:=i486}
diff --git a/cryptsetup/cryptsetup.SlackBuild b/cryptsetup/cryptsetup.SlackBuild
index 7976d890..70fec877 100755
--- a/cryptsetup/cryptsetup.SlackBuild
+++ b/cryptsetup/cryptsetup.SlackBuild
@@ -18,14 +18,12 @@ fi
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="cryptsetup"
ARCH=${ARCH:=i486}