aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/simplaret
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/simplaret')
-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"