summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-24 17:10:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-24 17:10:04 +0200
commit40f3ef6ec5949f32cc8b03e4806b0f6a2097fef6 (patch)
tree09c8a3241553c3d993b581bcf6560ea6686b2666 /bin
parent7a6ddeb4c0be39ea5bbc848cfedc014b24150dad (diff)
pkg: Check for -r instead of -f when reading the config
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index d76d9bb..07853d5 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -70,7 +70,7 @@ function clear_line {
}
# Read local configuration
-if [[ -f $HOME/.pkg.conf ]] {
+if [[ -r $HOME/.pkg.conf ]] {
source $HOME/.pkg.conf
}