summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index fb4b968..85ddef1 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -262,7 +262,7 @@ function vcs_status {
# Set the correct origin
function vcs_fix_origin {
- if [[ ! -f .git/remotes/origin ]] {
+ if [[ ! -e .git/remotes/origin ]] {
git remote add origin $PKG_ROOT/$1
}
git remote update &> /dev/null