aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-03 21:55:14 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-03 21:55:14 +0000
commit12ecae94ad6930d9d36374c0175dfb9762acfb26 (patch)
tree7f766ccc143344268dfb2900d278cd71bfc94526 /trunk/src
parent9f274cf7c39767b51655f695ea01344024aca78a (diff)
downloadsimplepkg-12ecae94ad6930d9d36374c0175dfb9762acfb26.tar.gz
simplepkg-12ecae94ad6930d9d36374c0175dfb9762acfb26.tar.bz2
attempting to fix #65
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@729 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/simplaret4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/src/simplaret b/trunk/src/simplaret
index a1ffe2d..61ae7a4 100755
--- a/trunk/src/simplaret
+++ b/trunk/src/simplaret
@@ -28,7 +28,9 @@ else
exit 1
fi
-if [ -f "/etc/simplepkg/repos.conf" ]; then
+if [ -f "$HOME/.simplepkg/repos.conf" ]; then
+ REPOS_CONF="$HOME/.simplepkg/repos.conf"
+elif [ -f "/etc/simplepkg/repos.conf" ]; then
REPOS_CONF="/etc/simplepkg/repos.conf"
else
REPOS_CONF="/etc/simplepkg/defaults/repos.conf"