summaryrefslogtreecommitdiff
path: root/conf/default.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/default.conf')
-rwxr-xr-xconf/default.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/default.conf b/conf/default.conf
index c738fc8..03001f0 100755
--- a/conf/default.conf
+++ b/conf/default.conf
@@ -76,7 +76,7 @@ for repo in ${repo_names}; do
mkdir -p "${repo_path%/*}"
- if [ ! -d "${repo_path}/.git" ]; then
+ if ! git -C "${repo_path}" rev-parse --git-dir > /dev/null 2>&1; then
if [ "${repo}" = "archlinux32" ]; then
repo_source='git@github.com:archlinux32/packages.git'
else