diff options
-rwxr-xr-x | install-repos | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/install-repos b/install-repos index d817e2b..c8792d2 100755 --- a/install-repos +++ b/install-repos @@ -34,15 +34,23 @@ for git in $REPOS; do if [ ! -f git-receive-allow ]; then touch git-receive-allow fi + if [ ! -f git-description ]; then + touch git-description + fi # Add to cgit list ( if [ -f cgit-repo-rc ]; then include=$git/cgit-repo-rc else + desc=$(cat git-description) + if [ -z "$desc" ]; then + desc="$simple" + fi echo "repo.url=$simple" echo "repo.path=$git" - echo "repo.desc=$simple" + echo "repo.desc=$desc" + echo "repo.owner=Stef" fi echo ) >> $DIR/cgit-repo-rc |