index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2014-08-16 23:05:40 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-08-16 23:05:40 -0400 |
commit | 784a38709849f25b71cab585c73c6ba509de38ad (patch) | |
tree | 626dea04695a1991f633a1722595c772b473a94c /asp.in | |
parent | f40e18e6d1e442aecb41be365832a86aa9acab5d (diff) |
-rw-r--r-- | asp.in | 3 |
@@ -5,6 +5,7 @@ ARCH_GIT_REPOS=(packages community) OPT_ARCH=$(uname -m) OPT_FORCE=0 : ${ASPROOT:=$HOME/asp} +: ${ASPCACHE:=$ASPROOT/cache} m4_include(util.inc.sh) m4_include(remote.inc.sh) @@ -88,6 +89,8 @@ initialize() { migrate_bare_repo fi + [[ -d $ASPCACHE ]] || mkdir -p "$ASPCACHE" + [[ -f .asp ]] && return 0 git init || return 1 |